Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2002, 12:45 AM
sintor
Fire Beetle
 
Join Date: Mar 2002
Posts: 9
Default mysql username and password

How do you set your mysql username and password under linux mandrake 8.x ?
Reply With Quote
  #2  
Old 04-04-2002, 02:23 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

type:

mysql

then

GRANT ALL PRIVILEGES ON eq.* TO someid@localhost
IDENTIFIED BY 'somepass' WITH GRANT OPTION;


read through the mysql documentation, they'll give you a rundown on settng permissions.
Reply With Quote
  #3  
Old 04-04-2002, 10:03 AM
sintor
Fire Beetle
 
Join Date: Mar 2002
Posts: 9
Default doesn't work

If i type mysql i get :
error 1045:access denied for user: 'root@localhost' (using password: no)

Now what, as far as the mysql docs, looks like greek to me.
Reply With Quote
  #4  
Old 04-04-2002, 10:20 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

You can change the password for mysql by using mysqladmin. I think the following will do it for you:

mysqladmin -u root -p password <new password>

Just replace <new password> with the new password you want to use. Typing this command will cause mysql to prompt you for your existing password. Since Mandrake 8.x doesn't assign a password, just hit enter when prompted.

EDIT: The above command may interpret the string "password" as your old password. If that happens try this command instead:

mysqladmin -p -u root password <new password>
Reply With Quote
  #5  
Old 04-05-2002, 11:27 AM
sintor
Fire Beetle
 
Join Date: Mar 2002
Posts: 9
Default great ! that worked.

That did the trick, thanks guys.
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 09:00 AM.


 

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