Jump to content

MySQL connection error


Recommended Posts

Hi for everyone.

When i try to use dbConnect, then debugscript_3 says the next:

DOnzO18.png

I don't know what causes the problem. The MySQL, and the PhPMyAdmin running from a Ubuntu VPS.

If anyone have experience with this problem, please help me. Thanks.

 

Link to post

Welcome to the Forums!

Where are you trying to connect to the MySQL server from - from your PC or an MTA server hosted on the same VPS ?

Also could you show the code with the dbConnect part (don't forget to remove the sensitive information!).
 

Link to post

Thank you! Good to be here.

I run the MTA server on that VPS, that runs the MySQL too.

And yes, here it is.

Link to post
Posted (edited)

Your MySQL server might be only listening to local connections.

I'm not 100% sure if this would help but why don't you try using localhost (or 127.0.0.1) instead as a host address ?

Edited by SpecT
Link to post

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