Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Tutorials/Howto's

Archive::Tutorials/Howto's Archive area for Tutorials/Howto's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-21-2003, 09:00 AM
Kalen
Fire Beetle
 
Join Date: Mar 2003
Posts: 2
Default Error 1044 and 1045

This is for after you unzip EQEmu, Install MySQL, copy db.sql, setup username and password using winmysqladmin.exe, run mysql and enter "create database eq;" "use eq" "source db.sql", and setup the .ini files in EQEmu directory. (Steps in http://www.eqemu.net/documents/readme.html (Part 2 - Hosting your own server on EQEmu) all the way to text with green highlight)

If you getting ERROR 1044 and ERROR 1045: Access denied to user@host blah blah blah, and you HAVE already done all the steps named above, THIS is the CORRECT syntax to use when changing privileges on accounts:

C:\MYSQL\BIN> mysql -u root mysql
mysql> GRANT ALL PRIVILEGES ON eq.* TO <user>@localhost
-> IDENTIFIED BY '&lt;pass>' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON eq.* TO <user>@"%"
-> IDENTIFIED BY '&lt;pass>' WITH GRANT OPTION;

Basicly go to your mysql\bin directory in dos and run "mysql -u root mysql". Type it in like that EXACTLY without quotation marks. Then type "GRANT ALL PRIVILEGES ON eq.* TO <user>@localhost" (fill in user with the username you setup using winmysqladmin.exe) and hit enter. Then press space five times and type "IDENTIFIED BY '&lt;pass>' WITH GRANT OPTION;" (fill in pass with the password you setup using winmysqladmin.exe) and hit enter.

Then type "GRANT ALL PRIVILEGES ON eq.* TO <user>@"%"" (fill in user with the username you setup using winmysqladmin.exe) (keep the double qoutes (" ") around % ("%"))and hit enter. Then press space five times and type "IDENTIFIED BY '&lt;pass>' WITH GRANT OPTION;" (fill in pass with the password you setup using winmysqladmin.exe) and hit enter.

So if Bob Hill made the username "gdogg" and the password "zonk", his screen would look like this afterwards:

C:\MYSQL\BIN> mysql -u root mysql
mysql> GRANT ALL PRIVILEGES ON eq.* TO gdogg@localhost
-> IDENTIFIED BY 'zonk' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON eq.* TO gdogg@"%"
-> IDENTIFIED BY 'zonk' WITH GRANT OPTION;

If you have any questions please email me at jlsarvis16spam@yahoospam.com
Remember to take both instances of the word spam out of that email address.

-KALEN
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:57 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3