• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Config lua Mysql causes server to shut down in a split sec...

Alltay

New Member
Joined
Oct 28, 2014
Messages
8
Reaction score
0
SOLVED!

I have a server and the programs needed.

ORIGINAL CONFIG LUA:
-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "theforgottenserver"
mysqlPort = 3306

-- SQL
sqlType = "sqlite"
passwordType = "plain"

CONFIG LUA WITH MY INFORMATION THAT I NEED FOR THE SERVER:
-- MySQL
mysqlHost = "localhost"
mysqlUser = "xxx
mysqlPass = "zzz"
mysqlDatabase = "xxx"
mysqlPort = 3306

-- SQL
sqlType = "mysql"
passwordType = "sha1"

THE PROBLEM:
When i change the configlua to the configuration that i need the server wont turn on. It loads for a split second and then the window closes.

Can anyone help me?
The password for mysql is correct and everything.
The problem occurs when i change --SQL -> sqlType to "mysql". Thats when it doesnt work.
 
Last edited:
Do you have a mysql database set up?

Change "localhost" to "127.0.0.1"
I have the Uniserver and through there i clicked phpMyAdmin and made an username and a database.
And i have Mysql and Apache running and open etc.

Will try with 127.0.0.1.

Edit: HEY it worked with 127.0.0.1 Thank you :)!!!
 
Last edited:

Similar threads

Replies
1
Views
637
Back
Top