ModernTopia and mySQL not working
#1

Hey folks!

So I got a problem, i have a linux server and I add the sampmysql.so plugin into the plugins folder and libmysql... into the root directory ( where are the samp-server.exe nso.. ) but it doesent load - it says in the log:
Код:
[15:50:46]  Loading plugin: sampmysql.so
[15:50:46]   Failed (libmysqlclient.so.15: cannot open shared object file: No such file or directory)
Any help please? I've created the directories in the mySQL and so, its just not loading.
Reply
#2

Any help? Sorry for the bump but I need it fast.
Reply
#3

It's a permissions thing, make sure the entire SA-MP folder has been CHMODed to 777.
Reply
#4

How do I make it? I don't know what is a CHMOD? Thanks, for answering atleast.
Reply
#5

While in FTP, you should be able to select everything, then right click and select "permissions". Make sure you make it "recursive"...
Reply
#6

This didn't fix the problem, the files have all permissions. Read, use, andstuff. Any other solutions?
Reply
#7

Quote:
Originally Posted by Spiral
Посмотреть сообщение
This didn't fix the problem, the files have all permissions. Read, use, andstuff. Any other solutions?
You sure about that? Sometimes it's best to just re-do the permissions... I would re-download the MySQL plugin and the libmysqlclient.so.15 file.
Reply
#8

I did re-do the permissions. libmysqlclient.so.15 file? it should be libmysqlclient.so file :O Lemme try renaming maybe, but any more solutions?

Okay some progress: Now I got this code:
Код:
[17:02:36]  
[17:02:36]  
[17:02:36]    Moderntopia: Los Santos
[17:02:36]  _____________________________
[17:02:36]  By Moderntopia Scripting Team 
[17:02:36]  
[17:02:36] MYSQL: Moderntopia MySQL Player Accounts v0.1 by Luk0r
[17:02:36] MYSQL: Attempting to connect to server...
[17:02:36] 
Connection to MySQL database: Failed !
[17:02:36] Access denied for user 'root'@'localhost' (using password: NO)
[17:02:36] Error in mysql_select_db: MySQL server has gone away
[17:02:36] MYSQL: Connection error, retrying...
[17:02:36] 
Connection to MySQL database: Failed !
[17:02:36] Access denied for user 'root'@'localhost' (using password: NO)
[17:02:36] Error in mysql_select_db: MySQL server has gone away
[17:02:36] MYSQL: Could not reconnect to server, terminating server...
[17:02:36] Number of vehicle models: 63
[17:02:36] --- Server Shutting Down.
[17:02:36] 
/***************************************************/
/* SAMP-MySQL v0.15 Plugin unloaded successfully ! */
/***************************************************/
Why it starts saying - access denied? I use no password and it all should be just fine. Any help?
Reply
#9

Quote:
Originally Posted by Spiral
Посмотреть сообщение
I did re-do the permissions. libmysqlclient.so.15 file? it should be libmysqlclient.so file :O Lemme try renaming maybe, but any more solutions?
I don't believe you need to rename it, as my Linux server at Volt-Host uses the same file name. Why don't you switch the plugin to something else?
Reply
#10

Okay some progress: Now I got this code:
Код:
[17:02:36]  
[17:02:36]  
[17:02:36]    Moderntopia: Los Santos
[17:02:36]  _____________________________
[17:02:36]  By Moderntopia Scripting Team 
[17:02:36]  
[17:02:36] MYSQL: Moderntopia MySQL Player Accounts v0.1 by Luk0r
[17:02:36] MYSQL: Attempting to connect to server...
[17:02:36] 
Connection to MySQL database: Failed !
[17:02:36] Access denied for user 'root'@'localhost' (using password: NO)
[17:02:36] Error in mysql_select_db: MySQL server has gone away
[17:02:36] MYSQL: Connection error, retrying...
[17:02:36] 
Connection to MySQL database: Failed !
[17:02:36] Access denied for user 'root'@'localhost' (using password: NO)
[17:02:36] Error in mysql_select_db: MySQL server has gone away
[17:02:36] MYSQL: Could not reconnect to server, terminating server...
[17:02:36] Number of vehicle models: 63
[17:02:36] --- Server Shutting Down.
[17:02:36] 
/***************************************************/
/* SAMP-MySQL v0.15 Plugin unloaded successfully ! */
/***************************************************/
Why it starts saying - access denied? I use no password and it all should be just fine. Any help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)