bravespiritz
Member
- Joined
- Aug 10, 2023
- Messages
- 33
- Reaction score
- 5
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "mydbname"
mysqlPort = 3306
mysqlSock = ""
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "mydbname"
mysqlPort = 3306
mysqlSock = ""
You have to compile it yourself, If you're using an old CPU, and follow the instructions in the link I provided.when doing this i have downloaded the marked TFS. Is it wrong?
thanks for that it works now. mysqlUser = "root" that was the problem.And do you have multiple processes running on 3306?
Are you 100% sure the details you have in config.lua match up?
Can you paste this section of your config.lua, and obviously leave your username and password blank:
LUA:-- MySQL mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "" mysqlDatabase = "mydbname" mysqlPort = 3306 mysqlSock = ""
root is just the default user for MySQL. It's very recommended to make your own user, with a strong password. And it's even more vital when you put your server online to the public. Unless your database is located elsewhere, the "host" will always be "127.0.0.1" or "localhost". Make sure you give the new user the correct privileges otherwise the server may be unable to do certain queries, i.e DELETE when you don't have the permissionthanks for that it works now. mysqlUser = "root" that was the problem.
why is it "root"?
what should it be if I eventually want to make it online?