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

Server crash when connecting to MYSQL

Sammol

New Member
Joined
Aug 31, 2009
Messages
30
Reaction score
0
So i run my server and when its loading, when it comes to "connecting to MYSQL" it just crashes..
 
Have you set up correctly "Database" section in config.lua?
Sql type - mysql or sqlite
Correct database name matching with your databse
Correct sql file path
Correct credentials
 
post ur sql config

Is this what you mean?
I use Uniserver btw

-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "Mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "flex"
sqlPass = "Dassnun"
sqlDatabase = "flex"
sqlFile = "Mysql.sql"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTImeout = 10
passwordType = "sha1"
 
Back
Top