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 08-22-2004, 05:05 AM
manglervirus
Sarnak
 
Join Date: Aug 2004
Location: Butte Montana
Posts: 76
Default geting mysql to work

ok i have been fitling with this for to days trying to get mysql to work heres my problem i go and type in

grant all privileges on *.* to Mangler@localhost identified by 'im not showing you my pasword' with grant option;

and it keeps saying

acses denied for user 'localhost' 'using pasword: no'

i ran the coamand cd\mysql\bin
mysql -u root mysql in dos comand and then i ran mysql and thats where ther error message pops up after i type the unlock comannd. im using mysql 4.0.14 or somthing like that please help
  #2  
Old 08-22-2004, 06:48 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

use
Code:
mysql -u Mangler -p databasename
It will prompt you for your password and then you will have access.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
  #3  
Old 08-22-2004, 09:18 AM
manglervirus
Sarnak
 
Join Date: Aug 2004
Location: Butte Montana
Posts: 76
Default

now its giving me this error

mysql> mysql -u m -p databasename;
ERROR 1046: you have an error in your sql syntax 'mysql -u M -p databasename' at line one

plesae help oh and m is my real name not mangler i changed it to see if that would help
  #4  
Old 08-22-2004, 09:35 AM
hypershadow66
Banned
 
Join Date: Nov 2003
Posts: 335
Default

You did change "database name" to EQ ( or whatever your Servers DB is called) right?
  #5  
Old 08-22-2004, 09:47 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

Code:
mysql> mysql -u m -p databasename; 
ERROR 1046: you have an error in your sql syntax 'mysql -u M -p databasename' at line one
C'mon, let's face it, you made it to mysql at this point. Logging once is enough.
__________________
EQEMu Quest Repository is down until something new :(
  #6  
Old 08-22-2004, 10:18 AM
manglervirus
Sarnak
 
Join Date: Aug 2004
Location: Butte Montana
Posts: 76
Default chang database?????????

how do i know the database name cuse i cant make a database through mysql so what are you talking about
  #7  
Old 08-22-2004, 10:27 AM
Darkwaters
Hill Giant
 
Join Date: Aug 2004
Location: Michigan
Posts: 118
Default

holy cow
Code:
Start-->Run-->CMD or Command [opens command prompt]
mysql -u root mysql
create database eq;
grant all privileges on * to mangler@localhost identified by 'im not showing you my pasword' with grant option; (*note make username lower case plz some issues arising on latest and greatest MySQL in regards to this.)
use eq;
source dbfilenamehere.sql;
quit
exit [exit cmd prompt]
Bam done. Where's the problem???
Darkwaters
  #8  
Old 08-22-2004, 10:29 AM
Darkwaters
Hill Giant
 
Join Date: Aug 2004
Location: Michigan
Posts: 118
Default

ps make the username min 4-6 characters long MINIMUM.
Darkwaters
  #9  
Old 08-22-2004, 11:40 AM
manglervirus
Sarnak
 
Join Date: Aug 2004
Location: Butte Montana
Posts: 76
Default

i ran dos command and typed in

mysql -u root mysql and i tried it with my username in place of root and this is what it said

c:/ documents and setings\owner>mysql -u root 'mysql' is not reconized as internal comand or external comand,
operable program or batch file.
  #10  
Old 08-22-2004, 12:21 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by manglervirus
i ran dos command and typed in

mysql -u root mysql and i tried it with my username in place of root and this is what it said

c:/ documents and setings\owner>mysql -u root 'mysql' is not reconized as internal comand or external comand,
operable program or batch file.
dude okay mysql.exe is not in C:/Documents and Settings/Owner and obviously you dont have mysql/bin set to PATH, i would've thought it would obvious to cd to bin.

-edit-
And you were supposed to do
Quote:
Originally Posted by Cisyouc
mysql -u user -p dbname
NOT
Quote:
Originally Posted by Cisyouc
mysql -u user
Replace:
user: With your MySQL Username
dbname: With your EQEMu Database Name


(Sorry im a little ticked at something else right now too)
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
  #11  
Old 08-22-2004, 01:47 PM
manglervirus
Sarnak
 
Join Date: Aug 2004
Location: Butte Montana
Posts: 76
Default

i got it working and i didnot see the last post
 


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:41 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