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

Linux How connect to database with server in other machine.

aberick

New Member
Joined
Aug 10, 2011
Messages
35
Reaction score
1
Hello people, i need help.

How i can connect to my database in other machine with remote connection?

im try this

sqlType = "mysql"
sqlHost = "192.134.3.156"
sqlPort = 3306
sqlUser = "root"
sqlPass = "password"
sqlDatabase = "database"

but dont work, somebody can help me?
 
Make sure that MySQL is accepting remote connections and that port 3306 is forwarded on the other machine.

Also, Dont use "root" as user. Create another one because mysql is very strict with remote root conections.

It is possible that you cant connect just because you are using root.
 
Back
Top