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.

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 05-20-2003, 06:04 AM
Satransisu
Fire Beetle
 
Join Date: May 2003
Posts: 14
Default

did what you said.. error came up..

'GRANT" is not reconized as an internal or external command, operable program or batch file

not sure what the deal is.. gonna look for another fix for this error
Reply With Quote
  #3  
Old 05-20-2003, 10:13 AM
Maranwe
Sarnak
 
Join Date: Jan 2003
Posts: 30
Default

Satransisu, that type of error is a windows/DOS command line error, it basically indicates that you don't have mysql.exe running when you type the GRANT command.

Maranwe
Reply With Quote
  #4  
Old 05-20-2003, 02:20 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Yes. He apparently isnt following directions..

a mysql error would have said ERROR: &amp;*(&amp;
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 05-29-2003, 02:18 PM
Raex_The_Overlord
Fire Beetle
 
Join Date: May 2003
Location: Lost in the nothingness inside me.
Posts: 17
Default

error 1044 for me.
Reply With Quote
  #6  
Old 06-10-2003, 04:23 PM
kr0g0th
Fire Beetle
 
Join Date: Jun 2003
Location: Salinas
Posts: 1
Default LOl

YOu guys are not making any sense.. sound like a bunch of computer nerds! lol
Reply With Quote
  #7  
Old 06-14-2003, 05:22 PM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default Dev

use Dev's step-by-step above
helped me fix my access denied prob
Reply With Quote
  #8  
Old 06-20-2003, 09:17 AM
Veragoan
Fire Beetle
 
Join Date: Jun 2003
Location: Colorado
Posts: 10
Default Error

Tried it.. didnt work.. here is what i did





Quote:
Welcome to the MySQL monitor. Commands end with ; or \g
Your MySQL connection id is 202 to server version 4.0.13-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> mysql -u root mysql
-> GRANT ALL PRIVILEGES ON eq.* to XXXXXX@localhost
-> IDENTIFIED BY 'XXXXXXXXX' WITH GRANT OPTION;
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root mysql
GRANT ALL PRIVILEGES ON eq.* to XXXX@loca
mysql>
Thats how it happened for me.
Reply With Quote
  #9  
Old 06-21-2003, 09:56 PM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default run

did you open mysql.exe through "run" in your start menu?
Reply With Quote
  #10  
Old 08-06-2003, 04:52 AM
Tolarn
Fire Beetle
 
Join Date: Jul 2003
Posts: 2
Default

Hi I had the same problem

mysql -u root mysql
I followed the directions but it still isnt working.
Reply With Quote
  #11  
Old 08-06-2003, 05:13 AM
ace555
Fire Beetle
 
Join Date: Aug 2003
Location: Omaha, NE
Posts: 4
Default

Veragoan: the "mysql -u root mysql" is supposed to be done on the command line "c:\mysql\bin>". You want to skip that part if you are already in mysql. If you are at the mysql prompt "mysql>" they just try the grant lines.

Tolarn: This is probably your problem also.
Reply With Quote
  #12  
Old 08-13-2003, 08:17 PM
streetxamurai
Fire Beetle
 
Join Date: Aug 2003
Posts: 1
Default Re: Error

Quote:
Originally Posted by Veragoan
Tried it.. didnt work.. here is what i did





Quote:
Welcome to the MySQL monitor. Commands end with ; or \g
Your MySQL connection id is 202 to server version 4.0.13-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> mysql -u root mysql
-> GRANT ALL PRIVILEGES ON eq.* to XXXXXX@localhost
-> IDENTIFIED BY 'XXXXXXXXX' WITH GRANT OPTION;
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql -u root mysql
GRANT ALL PRIVILEGES ON eq.* to XXXX@loca
mysql>
Thats how it happened for me.

I got absolutely the same error
I'm using EQEmu v4.4
was anyone able tomake it work correctly?
Reply With Quote
  #13  
Old 08-14-2003, 07:26 AM
x-scythe
Discordant
 
Join Date: Jun 2003
Posts: 449
Default .

try to play around with the command. like replace localhost with 127.0.0.1. look at some other posts on the subject. theres like 50 other ways to type this command
Reply With Quote
  #14  
Old 08-15-2003, 11:23 AM
Jeldorith
Fire Beetle
 
Join Date: Mar 2003
Location: (null)
Posts: 24
Default

Mine said that it works but I'm still gettting denied.

&lt;0 ROWS EFFFECTED, 0 SECS> or something similar meaning that it did work but nothing happened.
__________________
.timil retcarahc 4201 a si erehT
Reply With Quote
  #15  
Old 08-19-2003, 01:40 PM
NickKaun
Fire Beetle
 
Join Date: Aug 2003
Posts: 7
Default

Could anyone PLEASE tell me EXACTLY what you are supposed to type at the dos program? I typed C:\mysql\bin>mysql -u root mysql but it said that C:\mysql\bin wasnt recognized as an internal or external command. HELP ME!!
Reply With Quote
Reply


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:38 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3