SA-MP Forums Archive
MySql problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: MySql problem (/showthread.php?tid=414262)



MySql problem - TheEpicBraxton - 08.02.2013

Ok I have a Mysql database and my gamemode is using MYSQL on a Linux server, so I have mysql.so.

Logs:
Код:
[14:15:44] Error: Function not registered: 'mysql_connect'
[14:15:44] Error: Function not registered: 'mysql_real_escape_string'
[14:15:44] Error: Function not registered: 'mysql_query'
[14:15:44] Error: Function not registered: 'mysql_store_result'
[14:15:44] Error: Function not registered: 'mysql_num_rows'
[14:15:44] Error: Function not registered: 'mysql_fetch_row_format'
[14:15:44] Error: Function not registered: 'mysql_free_result'
[14:15:44] Script[gamemodes/xTrucking.amx]: Run time error 19: "File or function is not found"
[14:15:44] Number of vehicle models: 0



Re: MySql problem - Height - 08.02.2013

Which MYSQL plugin are you using?? BlueG or Stricken kid ?? is the plugin getting loaded in the server?? and also which GM are you using?? Is it XhardTruckers by XtremeR ?? Post more details


Re: MySql problem - TheEpicBraxton - 08.02.2013

XhardTruckers. Strickenkid Plugin.


Re: MySql problem - TheEpicBraxton - 09.02.2013

Anyone? Idk how to fix.


Re: MySql problem - TheEpicBraxton - 09.02.2013

How to fix! Anybody. Im really confused.


Re: MySql problem - Scenario - 09.02.2013

READ THE FORUM RULES FOR CHRIST'S SAKE!

Now, let's solve that problem:

Quote:

[14:15:44] Error: Function not registered: 'mysql_connect'
[14:15:44] Error: Function not registered: 'mysql_real_escape_string'
[14:15:44] Error: Function not registered: 'mysql_query'
[14:15:44] Error: Function not registered: 'mysql_store_result'
[14:15:44] Error: Function not registered: 'mysql_num_rows'
[14:15:44] Error: Function not registered: 'mysql_fetch_row_format'
[14:15:44] Error: Function not registered: 'mysql_free_result'

Clearly the plugin is not loading. Check your server_log.txt file to see if the mysql.so plugin failed to load. If you have the plugin in the /plugins directory, and you're sure you're loading it properly, check the permissions of the file. samp03svr may not be able to run it!


Re: MySql problem - TheEpicBraxton - 09.02.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
READ THE FORUM RULES FOR CHRIST'S SAKE!

Now, let's solve that problem:



Clearly the plugin is not loading. Check your server_log.txt file to see if the mysql.so plugin failed to load. If you have the plugin in the /plugins directory, and you're sure you're loading it properly, check the permissions of the file. samp03svr may not be able to run it!
I have a host heres the logs

Код:
[11:16:55] plugin.mysql: Version R8 (revision 14) successfully loaded.
[11:16:55] Loaded.



Re: MySql problem - Scenario - 09.02.2013

Was the script you're trying to load based around Strickenkid's MySQL plugin? If it was originally a different plugin, no wonder it isn't loading!


Re: MySql problem - TheEpicBraxton - 09.02.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Was the script you're trying to load based around Strickenkid's MySQL plugin? If it was originally a different plugin, no wonder it isn't loading!
I tried Strickenkid and Blueg both didnt work.


Re: MySql problem - Scenario - 10.02.2013

Well, which version of BlueG's did you use?