Jump to content

dbConnect problem


Overkillz

Recommended Posts

No One can help u without posting ur code ;)

It isn't a problem with the code, as I said, It works with my localhost, but when I want to connect it to my external database frpm my VPS, it doesn't work. IDK why should I post it.

About the problem, its something with the number 10061, I have been read something about this, but I couldn't fix my problem.

Link to comment
  • 2 weeks later...

I could fix my problem, I could connect to my external database but now, when I try to connect it

From my local host to external data base it connects

but

From external host (its the same as data base IP) to data base which are hosted in the same, it doesn't connect

i Hope that someone can help me with this problem.

Link to comment
I could fix my problem, I could connect to my external database but now, when I try to connect it

From my local host to external data base it connects

but

From external host (its the same as data base IP) to data base which are hosted in the same, it doesn't connect

i Hope that someone can help me with this problem.

Check if your Hoster is allowing incoming mysql connections and also check if you got the libmysql.dll / ml_sockets.dll / mta_mysql.dll in order to make mta getting access to the external database.Normally i t should work the otherwise there is a small mistake within your script

Link to comment

Well, Im using a dedicated server to host my servers and host my website. Well, I could connect to mysql db from my local server (not from host) and it works, it connected and I could acces to the tables ...etc but when I try to connect from the host, it doesnt work. I think the problem is on libmysql.dll / ml_sockets.dll / mta_mysql.dll

What I need to check there ?

Link to comment
Ok, I installed the last library that I needed. thanks for all, many days trying to find the problem u gave me the answer.

Now my problem is fixed.

I'm glad i could give you the required information in order to fix this problem.If you ever meet a new problem don't hesitate to contact me

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