Jump to content

[ HELP ] MySQL: Cant connect to Server


Keilbritschn

Recommended Posts

Posted

Hey guys, i tryed to connect to many Mysql-Server's wich are for free. But the Console says:

ERROR: [gameplay]\mysqlloginpanel\login_server.lua:9: dbConnect failed; Can't connect to MySQL Server on 'mysql17.000webhost.com' (10060) 

Posted

Could be that they don't allow remote connections.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You can setup one on the same server where you host the MTA server.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Have again a Problem ...

I created now via XAMPP a MySQL Server. The Server is running and i uploaded the user.sql and i entered in the script:

dbConnect("mysql", "dbname=user;host=localhost", "username=Elias", "password=passwort") 

but it says now:

ERROR: [gameplay]\mysqlloginpanel\login_serverlua:9: dbConnect failed; Can't connect to MySQL server on 'localhost' (10061) 

I asked google already but didn't found something :/

Posted

Try using: "127.0.0.1" instead of "localhost".

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...