Plus Emulator Error - Help Me!

Status
Not open for further replies.

BaileyRetros

New Member
Jan 12, 2017
13
1
I get this error when i run PlusEmulator, i checked files they are right. someone help?

14:42:55 - [ERROR] Failed to connect to the specified MySQL server.
 

BaileyRetros

New Member
Jan 12, 2017
13
1
Post your emulator config.ini
just screen shots of it?
 
Post your emulator config.ini
Code:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=25.103.163.15
db.port=3306
db.username=root
db.password=abc
db.name=Plus

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250

## Game TCP/IP Configuration
game.tcp.bindip=25.103.163.15
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=2
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=25.103.163.15
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost;25.103.163.15

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
 

JMS

Posting Freak
Aug 25, 2014
563
269
EDIT: Try setting the db.hostname to 127.0.0.1

This error suggests that the MySQL (DB) info in the config.ini is incorrect, posting it would be rather useless. I have included a screenshot below of what it should look like for you. Hope this helps.

bc3dc5bce6ef4be8ba9d3dfd364c0139.png

The db.port should remain 3306, unless you have changed this yourself. However 3306 is the default MySQL Port.
Again, db.username is by default root, however if you renamed this when setting MySQL up - it'll be whatever you set it too.
db.password is the password you set whilst setting up MySQL - Only you will know this.
db.name is the name of the database you created for the hotel (where the .sql is executed)

If none of the above steps sound familiar, then it is likely you havent set up MySQL - if this is the case, then reply telling me, and I'll help you out with that.

Hope I help.
 
  • Like
Reactions: Joe

Joe

Well-Known Member
Jun 10, 2012
4,090
1,918
I suggested to post it in case there were more than one errors.
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=MySQL Password
db.name=MySQL Database Name

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250

## Game TCP/IP Configuration
game.tcp.bindip=VPS IP Address
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=200
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30001
mus.tcp.allowedaddr=127.0.0.1

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
 
  • Like
Reactions: JMS

BaileyRetros

New Member
Jan 12, 2017
13
1
EDIT: Try setting the db.hostname to 127.0.0.1

This error suggests that the MySQL (DB) info in the config.ini is incorrect, posting it would be rather useless. I have included a screenshot below of what it should look like for you. Hope this helps.

bc3dc5bce6ef4be8ba9d3dfd364c0139.png

The db.port should remain 3306, unless you have changed this yourself. However 3306 is the default MySQL Port.
Again, db.username is by default root, however if you renamed this when setting MySQL up - it'll be whatever you set it too.
db.password is the password you set whilst setting up MySQL - Only you will know this.
db.name is the name of the database you created for the hotel (where the .sql is executed)

If none of the above steps sound familiar, then it is likely you havent set up MySQL - if this is the case, then reply telling me, and I'll help you out with that.

Hope I help.
thanks ill try it :)
 
Status
Not open for further replies.

Users who are viewing this thread

Top