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=379683)



Mysql problem - darksone - 22.09.2012

I recently purchased a server vps and I have a problem after upload server on it.
I want to say that I installed apache2, mysql, php and phpmyadmin.
When I upload server and start it appears at mode unknown and the log contains the following lines:
Код:
[00:04:31]    Error: Function not registered: 'mysql_connect'
[00:04:31]    Error: Function not registered: 'mysql_query'
[00:04:31]    Error: Function not registered: 'mysql_store_result'
[00:04:31]    Error: Function not registered: 'mysql_fetch_row_format'
[00:04:31]    Error: Function not registered: 'mysql_ping'
[00:04:31]    Error: Function not registered: 'mysql_reconnect'
[00:04:31]    Error: Function not registered: 'mysql_real_escape_string'
[00:04:31]    Error: Function not registered: 'mysql_num_rows'
[00:04:31]    Error: Function not registered: 'mysql_fetch_field_row'
[00:04:31]    Error: Function not registered: 'mysql_free_result'
[00:04:31]    Error: Function not registered: 'mysql_close'
[00:04:31]    Error: Function not registered: 'mysql_debug'
[00:04:31] Script[gamemodes/ugame.amx]: Run time error 19: "File or function is not found"
[00:04:31] Number of vehicle models: 0
Sorry for my bad english!!


Re: Mysql problem - ikbenremco - 22.09.2012

Do you got mysql.so if you're running lynux.

Do you got the database into your mysql.

Do you got in the .txt the correct mysql information?


Re: Mysql problem - darksone - 22.09.2012

question 1 : yes
question 2 : yes
question 3: what .txt?


Re: Mysql problem - HarrisonC - 22.09.2012

You probably haven't got the <a_mysql> include at the top of your game-mode. Try adding that at the top and see what happens.


Re: Mysql problem - darksone - 22.09.2012

I have <a_mysql> include at the top of gamemode


Re: Mysql problem - HarrisonC - 22.09.2012

Are you sure you have the latest version of SA:MP server downloaded including the latest includes for your PAWN compiler?


Re: Mysql problem - darksone - 22.09.2012

yes...