Jump to content

dbConnect failled; Could not connect


Banex

Recommended Posts

Posted

I am unable to connect to my database, i enabled remote access on my host, yet i keep getting this error.

I'm using Linux - Debian 8 64Bit

jIcd9sc.png

Not worry about the future. Very soon it will come.

Posted
local data = Database.getDetails() 
    self.connection = dbConnect("mysql",format('dbname={1};host={2};port={3}',data.Name,data.Host,data.Port),data.User,data.Password,"share=1") 

jIcd9sc.png

Not worry about the future. Very soon it will come.

Posted

I really do not know what to do.

In wiki says that i must have installed the libmysqlclient.so.16. I have it installed, but the problem persists. I tried to connect to another database to another host, but also i did not have success.

I reinstalled the operating system for Debian 7 - 64bits in last hope, but to no avail at all.

jIcd9sc.png

Not worry about the future. Very soon it will come.

Posted
If he didn't have it installed, the server wouldn't even run since it statically links to libmysqlclient.

If i remember well, i had the same error before when i haven't installed it. The server runs fine though.

A unique GangWar gamemode waiting for you!
Click here for more information.

560x95_FFFFFF_FF9900_000000_000000.png

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