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

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-26-2007, 03:49 PM
Jukdak
Fire Beetle
 
Join Date: Jul 2007
Posts: 4
Default Mysql error

im trying to set up a server for this and i am getting an error in the cmd prompt when i try to do the two commands
Source load_system.sql
source load_system.sql

its telling me it failed to open the file, error 2
not sure what to do can anybody help?
Reply With Quote
  #2  
Old 07-26-2007, 06:25 PM
Damilis's Avatar
Damilis
Hill Giant
 
Join Date: Dec 2002
Location: Nottingham!!
Posts: 217
Default

Probably a path issue.
copy those two .sql files to the /bin/ directory of your mysql installation and try again.
__________________
GM/ServerOP - Shadows of Norrath
Reply With Quote
  #3  
Old 07-26-2007, 07:31 PM
Jukdak
Fire Beetle
 
Join Date: Jul 2007
Posts: 4
Default

tried that, isnt working
Reply With Quote
  #4  
Old 07-26-2007, 08:37 PM
Jukdak
Fire Beetle
 
Join Date: Jul 2007
Posts: 4
Default

got it fixed now, had the peqdb inside of itself in another folder, but anyways now i have another problem, when i try and start my server i cannot get a connection to mysql, so says my logs

---------------------------------------------
[07.27. - 04:30:49] Starting Log: logs/eqemu_debug_world_5620.log
[07.27. - 04:30:49] [WORLD__INIT] Loading server configuration..
[07.27. - 04:30:49] [WORLD__INIT] Log settings loaded from log.ini
[07.27. - 04:30:49] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[07.27. - 04:30:49] [WORLD__INIT] Connecting to MySQL...
[07.27. - 04:30:49] [WORLD__INIT_ERR] Cannot continue without a database connection.

---------------------------------------------
[07.27. - 04:30:49] Starting Log: logs/eqemu_error_world_5620.log
[07.27. - 04:30:49] Failed to connect to database: Error: #1045: Access denied for user 'root'@'localhost' (using password: YES)

any ideas?
Reply With Quote
  #5  
Old 07-26-2007, 09:44 PM
Damilis's Avatar
Damilis
Hill Giant
 
Join Date: Dec 2002
Location: Nottingham!!
Posts: 217
Default

Firstly, you might want to start searching the forums, as your questions have been answered literally hundreds of times. This tends to get the local natives a little upset (people not using search).

Anyways, your problem is probably that you haven't set MySQL permissions yet:

Code:
 C:\mysql\bin\mysql -u root peq
(If C:\mysql\ isn't your install path, then obviously use yours)


Code:
 GRANT ALL PRIVILEGES ON peq.* TO eqname@localhost IDENTIFIED BY 'eqpass' WITH GRANT OPTION;
Where:
peq = the database name
.* = all tables in said database
eqname = mysql username, in your case you were using root
localhost = host from which this connection is allowed (use % for ALL HOSTS)
eqpass = password for this user/host combination

so for you:
Code:
 GRANT ALL PRIVILEGES ON JukdaksEQEmuDB.* TO root@localhost IDENTIFIED BY 'searchfunction' WITH GRANT OPTION;
__________________
GM/ServerOP - Shadows of Norrath
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:09 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