Swagy Posted December 31, 2015 Share Posted December 31, 2015 Hello community, we are trying to connect our MySQL server, but this message appears; ERROR: Could not load /home/mta/mta/rgcmta/mods/deathmatch/./dbconmy. so - libmysqlclient.so.16: cannot open shared object file: No such file or direc tory we do have that libmysqlclient.so.16 but we just dont know what is the path where it tries to find it any help please ? Link to comment
Noki Posted December 31, 2015 Share Posted December 31, 2015 It should be in /usr/lib Link to comment
RangeR.. Posted January 1, 2016 Share Posted January 1, 2016 It should be in /usr/lib We tried it but it didn't work. local sql = dbConnect( "mysql", "dbname=mydbname;host=127.0.0.1;unix_socket=/var/run/mysqld/mysqld.sock", "my.username", "my password") unix_socket=/var/run/mysqld/mysqld.sock there is no such file Link to comment
Addlibs Posted January 1, 2016 Share Posted January 1, 2016 For the unix_socket/mysqld.sock, try restarting MySQL server (mysqld) If that doesn't work, check where your mysqld.sock is stored (it might be elsewhere) - open the file /etc/mysql/my.cnf and look for [client] port = 3306 socket = (path to mysqld.sock)and use that path on dbConnect. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now