• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Web [Tut] How to get rid of localhost error

Status
Not open for further replies.
DRGunZ 2 Creator
Loyal Member
Joined
Jan 21, 2007
Messages
4,493
Reaction score
161
Ive seen about 10 more people ask this question: how do I fix this error? (see attachments)

To fix follow this easy guide :p
If you made a password when installing MySQL then go to MapleStoryServer>MapleStoryServer>MySQLM.cpp and edit it.

Find this code here :
Code:
if(!mysql_real_connect(&maple_db, "localhost", "root", " ", "maplestory",
add your MySQL password to the " 's beside root and then rebuild.

Example:
Code:
if(!mysql_real_connect(&maple_db, "localhost", "root", "12345 ", "maplestory",
 

Attachments

  • error - [Tut] How to get rid of localhost error - RaGEZONE Forums
    error.jpg
    20.8 KB · Views: 270
Newbie Spellweaver
Joined
Apr 3, 2008
Messages
28
Reaction score
0
Re: [Tut]How to get rid of localhost error

Ok, i did it =/ and now i get a NEW error...

"Can't connect to MySQL server on 'localhost' (10061)"

Now what do i do? =(
 
Banned
Banned
Joined
Mar 4, 2006
Messages
575
Reaction score
4
Re: [Tut]How to get rid of localhost error

mysql needs to be running
 
Newbie Spellweaver
Joined
Dec 16, 2007
Messages
60
Reaction score
0
Re: [Tut]How to get rid of localhost error

make sure after u built the maplestory server by using c++
the password and mysql info must be corrects,
and then use the account you make ealiers
then after the server.exe run, double click on localhost.exe ( from superfun )
 
Initiate Mage
Joined
Apr 4, 2008
Messages
4
Reaction score
0
Re: [Tut]How to get rid of localhost error

Nice Tut , but where can i find the 'MapleStoryServer'
 
Newbie Spellweaver
Joined
Apr 4, 2008
Messages
28
Reaction score
0
Re: [Tut]How to get rid of localhost error

mysql needs to be running

I downloaded mysql 5.0 and there is no exe or anything. just MySQL Server Instance Config Wizard and when i run it it says theres a side-by-side error or somthing.
 
Initiate Mage
Joined
Apr 14, 2008
Messages
2
Reaction score
0
Re: [GUIDE]How to get rid of localhost error

help!
i have navicat for mySQL
but i have bug when i chose my character in my private server
i choose my character and server go to DC
plz! help!
 
Initiate Mage
Joined
Apr 14, 2008
Messages
2
Reaction score
0
Re: [GUIDE]How to get rid of localhost error

help!
when i choose my character in my private server
this log-off me... i can't play!
help me
in c++ i haven't error or warning!
 
Status
Not open for further replies.
Back
Top