• 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!

Problem with connecting to mysql database

Efren

Lua Scripter
Joined
Apr 18, 2010
Messages
81
Reaction score
4
I have a serious issue, When i try to open my serv it just doesn't let me.
[26/06/2010 21:39:40] >> Starting SQL connection
[26/06/2010 21:39:41] Failed connecting to database - MYSQL ERROR: Can't connect to MySQL server on 'localhost' (10061) (2003)

[26/06/2010 21:39:41] > ERROR: Couldn't estabilish connection to SQL database!
I know that these error come for a bad configuration on the config.lua so here is my serious problem.
Code:
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "Sry can't tell"
	sqlDatabase = "FriaOt"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	encryptionType = "sha1"
When i noticed that the info was correct then i decided to check my XAMPP control panel
zk5wrt.jpg

note: This isn't my pic but it looks like that on both apache and mysql, The reason that i didn't upload my pic is cuz i dont have paint. Also WTF is suppost to work.

So then i decided to check my ports
Code:
7171 -> tcp/udp openeds
7172 -> tcp/udp openeds
3306 -> tcp/udp openeds *also doesn't matter if is opened or not
80 -> tcp opened
Extra info:
these are the installed programs.
Code:
-> tfs0.3.6pl1
-> xampp 1.7.3

If some can help, please.
ps: I have tried everything, restarting xampp and computer also reinstalled the programs.

**Also tried to use uniserver but the problem is still on.**

Fu*k never though about asking for help.
Regards, Efren.
 
yea i import "mysql.sql" to my database(friaot), also the tables were inserted.
Modern acc was succefully installed and can be seen by others on the web.

link:http://friaot.servegame.com

Tho it won't let me see it cuz also works on mysql database as sha1 BUT it works.

any other ideas?

Edit:
(downloaded paint)I went deply and found something, It tells that xampp is using mysql.. so why im having error on connecting?
mysql%20wtf.png
 
Last edited:
Back
Top