• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help With Localhost

Tankscott13

New Member
Joined
Jan 30, 2009
Messages
16
Reaction score
0
Hey, I have opened an ot server in a while, and I wanted to again. Im using uniform server and I have set up a database in localhost/phpmyadmin. I've imported the database from the server, and entered all the info in the config. Even watched a tutorial and followed it step by step but I keep getting this error

1/01/2013 17:43:59] >> Loading database driver...Failed to connect to database. MYSQL ERROR: Can't connect to MySQL server on 'localhost' (10061)
[31/01/2013 17:44:00] > ERROR: Failed to connect to database, read doc/MYSQL_HELP for information or try SQLite which doesn't require any connection.

Can anyone help? :)
 
i think localhost does only work under windows... not sure but

142331_linux-meme-1280x960-wallpaper_www.wall321.com_31.jpg
 
Check your config pass, user, port database.
My config look that:
Code:
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "*****"
	sqlDatabase = "tfs"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	encryptionType = "plain"
 
what do i say to start it?

- - - Updated - - -

because i aready have
# Service Name External Start Port External End Port Internal Start Port Internal End Port Internal IP address
1 Tibia 7171 7171 7171 7171 10.0.0.6
2 Apache 80 80 80 80 10.0.0.6
3 MySQL 3306 3306 3306 3306 10.0.0.6
 
Back
Top