Jump to content

Can't connect to external server (MySQL)


xUltimate

Recommended Posts

Recently I tried to access my external server to use my MTA server's MySQL on it and it fails to connect, I am unsure why though.

Here is my settings file (Note: I have taken out parts for security purposes only)

<setting name="@sql.user" value="----" /> 
<setting name="@sql.password" value="----" /> 
<setting name="@sql.database" value="----_mtasa" /> 
<setting name="@sql.hostname" value="174.121.95.47" /> 
<setting name="@sql.port" value="3306" /> 

I have User, Password, and Database entered correctly, its either the hostname or the port that is throwing it off.

Link to comment
mysql database are REJECTING ALL CONNECTIONS from internet by default!

it's a protection - only local computers can access it.

go into your hoster control panel - there should be some options to allow remote connections (at all or from specific IP's).

also - remote mysql is slow :/

Very laggy too, I would reccomend not using remote mysql from mta and ask your host if they can set you up an sql server. (If you have a host that is), I was trying this a few weeks back. Was too laggy, kept crashing the server too.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...