Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::General Support

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

 
 
Thread Tools Display Modes
  #1  
Old 03-17-2004, 06:10 PM
Xabob's Avatar
Xabob
Discordant
 
Join Date: Feb 2004
Location: On your desktop
Posts: 387
Default Bump: My Sql Fix

Found this Digging around for fun

Quote:
I ran into this, and here's exactly what I did to add a user that could access a database called 'eq' (Full tutorial here)




Added mysql bin path to %path% for system variables (win32 systems, see tutorial linked above)

Open a console
Win98/95/ME - start->run->command
Win2k/XP/2k3 - start->run->cmd
Linux - do you really need to ask?


Type in the following:
mysql -u root mysql


Inside of mysql, type these commands:
create database eq;
grant all privileges on eq.* to myUser@localhost identified by 'myPassword' with grant option;
quit


You should output similar to the following:
Code:

C:\EqEmu\cvs\eqemu\EQEMu Release>mysql -u root mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 22 to server version: 3.23.57-nt

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

mysql> create database eq;
Query OK, 1 row affected (0.00 sec)

mysql> grant all privileges on eq.* to myUser@localhost identified by 'myPassword'
with grant option;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye

C:\EqEmu\cvs\eqemu\EQEMu Release>



Back in the console, type this command to verify the user exists:
mysql -u myUser -p eq


You should see a password prompt - enter in your password ('myPassword' in this sample). You should see the following:
Code:

C:\EqEmu\cvs\eqemu\EQEMu Release>mysql -u myUser -p eq
Enter password: **********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 24 to server version: 3.23.57-nt

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

mysql>





Additional help can be found here:
http://www.mysql.com/doc/en/Adding_users.html
__________________
[12:38] <RangerDown> I watched Napoleon Dynamite the other day
[12:39] <Xabob> omg
[12:39] <Xabob> want me to shoot you now?
[12:39] <RangerDown> and the first words out of my mouth at the start were:
[12:39] <RangerDown> Hey I bet Rog looks like that

 


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