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

Lua External MySQL server

ijjvan

New Member
Joined
Aug 5, 2013
Messages
5
Reaction score
0
Hello,

I have three servers. One as a web server, one with TFS, and a MySQL server. How do I connect TFS config.lua against an external MySQL database?

etc.

- MySQL
mysql host = "my.external.server.ip"
mysql user = "user"
mysql pass = "password"
mysql database = "database"
MySQL port = 3306

When I use localhost a.ka 127.0.0.1 so it works without problems. But once I enter my server, etc mysql.domain.com it will not work.

Does anyone know?

Thank you for so long!
 
Well thats not the issue, i got the mysql server up and running on my own computor but lets say i want to have the sql server running on a remote site with (ofcourse) a complete different IP adress. What would i need to change ? and simply changing the IP adress in config.lua is not working.
And the ports is open on my router (3306) and the other router also has 3306 open.
 
Hello.

Try add new user in phpmyadmin with you're Domain Name.

ScreenShoot
06e62096c48bc7d75e37f2e211a35a70.png


Best Regards
mlody.1039
 

Attachments

  • 06e62096c48bc7d75e37f2e211a35a70.jpg
    06e62096c48bc7d75e37f2e211a35a70.jpg
    18.2 KB · Views: 7 · VirusTotal
Back
Top