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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2004, 05:09 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default winmysqladmin problem

the guide i was looking at says start winmysqladmin and enter username / pw. I remember from when I had a server before if you already opened winmysqladmin once before you had to reinstall it so you can re enter username/pw ? well i have reinstalled about 3x and no luck being able to use a different username/pw. I forget what I used before also :\

Anyone know how to fix this so I can enter a new username and password?

Thanks.
Reply With Quote
  #2  
Old 03-23-2004, 05:18 PM
Spike
Discordant
 
Join Date: Mar 2004
Location: Florida
Posts: 362
Default

One HARD solution is after uninstalling it, re-start your computer. Go to where you previously had installed the folder at, and destroy it. (sometimes it leaves behined old databases).

One SIMPLE solution is go into mysqladmin.exe, click the My .ini Setup tab, and go down to where you see your username and password. Just edit that, then click the SAVE MODIFICATION button. This should change the pass and username.

Use either one of them, use the hard one if you wanna start off with a clean slate. Use the easy one to keep everything you have but the pass and username.

BTW if this doesn't work, slap me for being a noob please. Just saying some things I have never done before but sound to me like it should work...
Reply With Quote
  #3  
Old 03-23-2004, 05:31 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

worked :p put in my new username/pw but when i type

mysql> grant all privileges on *.* to lnlserver@localhost identified by 'my pw here' with grant option;

I put in my password with the two ' ' and without it, both didnt work and both times i got this error

ERROR 1045: Access denied for user: '@localhost' (Using password: NO)

any idea whats wrong?
Reply With Quote
  #4  
Old 03-23-2004, 05:33 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

nevermind fixed it
Reply With Quote
  #5  
Old 03-23-2004, 05:37 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

grrr now i cant get it to source source MW055_alpha_02.sql; ... I have it in my mysql folder, is it suppose to be somewhere else?
Reply With Quote
  #6  
Old 03-23-2004, 05:38 PM
Spike
Discordant
 
Join Date: Mar 2004
Location: Florida
Posts: 362
Default

Yes sir I do. I had to same problem and was away for 2 weeks without internet so I made this up. Probobly one of the devs already know this too... heres E X A C T LY what you do.

First go to ur Taskbar down at the bottom and click the START button.

Then, click RUN

click BROWSE...

Look for the mysql.exe file

After you find it click on it and it should appear something like this...
EXAMPLE: C:\mysql\bin\mysql.exe

Now after that command(text) type in -u root

So basically it should look like this (for me, EXACTLY like this)
EXAMPLE: C:\mysql\bin\mysql.exe -u root

You will get a DOS menu. Type in GRANT ALL PRIVILEGES on *.* to 'my username here'@localhost identified by 'my pw here';

Instead of the first star though... I type in my database instead, but that may not be necessary for you...
EXAMPLE: GRANT ALL PRIVILEGES on eq.* to 'my username here'@localhost identified by 'my pw here';
Reply With Quote
  #7  
Old 03-23-2004, 05:47 PM
Spike
Discordant
 
Join Date: Mar 2004
Location: Florida
Posts: 362
Default

It should work, just type in use (database name);
EXAMPLE: use eq;

Then type in source (file name);
EXAMPLE: source MW055_alpha_02.sql;

(most likely you forgot to use the database before sourcing the .sql file....)

ALSO the file is SAPOSE to be in the BIN folder right next to the mysql.exe program.
Reply With Quote
  #8  
Old 03-23-2004, 05:48 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

I've gotten myself passed that part Thanks! Any idea on how to fix the sourcing thing I'm having a problem with? its saying it cant open the file MW055_alpha_02.sql when i type "source MW055_alpha_02.sql;"
Reply With Quote
  #9  
Old 03-23-2004, 05:49 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

oh lmao you already posted that k ;p
Reply With Quote
  #10  
Old 03-23-2004, 05:52 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

hmmm i did this...

start -> run -> cmd

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Sean>mysql -u root mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 23 to server version: 4.0.18-nt

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

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

mysql> create database eq;
ERROR 1007: Can't create database 'eq'. Database exists
mysql> use eq;
Database changed
mysql> source MW055_alpha02.sql;
ERROR:
Failed to open file 'MW055_alpha02.sql', error: 2
mysql>



notice Failed to open file 'MW055_alpha02.sql', error: 2

I have no idea why it isn't working, and yeah I put it in the bin folder


P.S. the reason why it said ERROR 1007: Can't create database 'eq'. Database exists cause I already created it on the passed 5 tries i've done
Reply With Quote
  #11  
Old 03-23-2004, 05:54 PM
Jezebell
Discordant
 
Join Date: Feb 2004
Location: Florida
Posts: 441
Default

prolly cause the file name is MW055_alpha_02.sql

lol
__________________
Eru, the Creator of Arda
ServerOwner for The First Age
An EQEMulator Roleplaying [Custom-Legit] Server
The First Age Website

Running on: Asus A7N8X-Deluxe, AMD Athlon XP 2100+, Geil 1024MB PC3200 Ultra DDR RAM,
WD 40GB 7200rpm ATA-100 HDD, Visiontek 128MB Geforce4 TI 4400, Windows XP Pro SP2
Reply With Quote
  #12  
Old 03-23-2004, 05:56 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

ugh that was a typo i must have done on that try :p the other ones all had correct spelling
Reply With Quote
  #13  
Old 03-23-2004, 05:58 PM
Spike
Discordant
 
Join Date: Mar 2004
Location: Florida
Posts: 362
Default

Im not really sure here. My guess would be to first shut off mysql then delete any databases that may have this information already in it. Or, just create a new database.... This is really a last resort though. More of a test...
Reply With Quote
  #14  
Old 03-23-2004, 07:28 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default

finished setting up server but now i cant log in Error: 1017 to all who try to login. starting new thread
Reply With Quote
  #15  
Old 03-24-2004, 05:10 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Your problem lies in WHERE you are putting the .sql file (read the db you want to use).. ... You are on the right track though, it doesnt go in c:\mysql but instead c:\mysql\bin That will fix your DB sourcing problem...

And if you are wanting to redo your UN/PW and dont remember it, or just want to do it the easy way, just open up c:\windows and look for a file called my.ini and delete it.. Now run winmysqladmin.exe from c:\mysql\bin and it will ask you for a new UN/PW...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
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 05:10 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