SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 20/02/2014, 05:06 PM   #1
RyanDam
Big Clucker
 
Join Date: May 2009
Posts: 65
Reputation: 6
Default Mysql Plugin fails on Linux

Hello, I can easily start my server on Windows, but on my dedicated(linux) it comes with some mysql errors:


Code:
[18:04:00]    Error: Function not registered: 'mysql_query'
[18:04:00]    Error: Function not registered: 'mysql_store_result'
[18:04:00]    Error: Function not registered: 'mysql_num_rows'
[18:04:00]    Error: Function not registered: 'mysql_retrieve_row'
[18:04:00]    Error: Function not registered: 'mysql_fetch_field_row'
[18:04:00]    Error: Function not registered: 'mysql_free_result'
[18:04:00]    Error: Function not registered: 'mysql_close'
[18:04:00]    Error: Function not registered: 'mysql_ping'
[18:04:00]    Error: Function not registered: 'mysql_real_escape_string'
[18:04:00]    Error: Function not registered: 'mysql_debug'
[18:04:00]    Error: Function not registered: 'mysql_connect'
[18:04:00]    Error: Function not registered: 'mysql_affected_rows'
[18:04:00]    Error: Function not registered: 'mysql_stat'
[18:04:00]    Error: Function not registered: 'mysql_insert_id'
[18:04:00] [debug] Run time error 19: "File or function is not found"
[18:04:00] [debug]  mysql_query
[18:04:00] [debug]  mysql_store_result
[18:04:00] [debug]  mysql_num_rows
[18:04:00] [debug]  mysql_retrieve_row
[18:04:00] [debug]  mysql_fetch_field_row
[18:04:00] [debug]  mysql_free_result
[18:04:00] [debug]  mysql_close
[18:04:00] [debug]  mysql_ping
[18:04:00] [debug]  mysql_real_escape_string
[18:04:00] [debug]  mysql_debug
[18:04:00] [debug]  mysql_connect
[18:04:00] [debug]  mysql_affected_rows
[18:04:00] [debug]  mysql_stat
[18:04:00] [debug]  mysql_insert_id
[18:04:00] [debug] Run time error 19: "File or function is not found"
[18:04:00] [debug]  mysql_query
[18:04:00] [debug]  mysql_store_result
[18:04:00] [debug]  mysql_num_rows
[18:04:00] [debug]  mysql_retrieve_row
[18:04:00] [debug]  mysql_fetch_field_row
[18:04:00] [debug]  mysql_free_result
[18:04:00] [debug]  mysql_close
[18:04:00] [debug]  mysql_ping
[18:04:00] [debug]  mysql_real_escape_string
[18:04:00] [debug]  mysql_debug
[18:04:00] [debug]  mysql_connect
[18:04:00] [debug]  mysql_affected_rows
[18:04:00] [debug]  mysql_stat
[18:04:00] [debug]  mysql_insert_id
[18:04:00] Script[gamemodes/survival21.amx]: Run time error 19: "File or function is not found"
[18:04:00] Number of vehicle models: 0

I did try to re-download the plugin and include and compile again, nothing worked. Anyone who got any ideas?

Thanks in advance,

Ryan
RyanDam is offline   Reply With Quote
Old 21/02/2014, 04:05 AM   #2
Matt
Huge Clucker
 
Matt's Avatar
 
Join Date: Mar 2012
Location: Chicago, IL, USA
Posts: 389
Reputation: 32
Default Re: Mysql Plugin fails on Linux

Maybe you are download the older version of the plugin, maybe you need the new one like R33
__________________
Matt is offline   Reply With Quote
Old 21/02/2014, 05:50 AM   #3
itsCody
Gangsta
 
Join Date: Nov 2012
Location: Canada
Posts: 531
Reputation: 45
Default Re: Mysql Plugin fails on Linux

try mysql_static.so?
itsCody is offline   Reply With Quote
Old 13/05/2018, 11:42 AM   #4
vsskamal
Little Clucker
 
Join Date: Apr 2018
Posts: 4
Reputation: 0
Default Re: Mysql Plugin fails on Linux

i used MySQL_static.so and it worked fine but can't connect to database even database in localhost with correct credentials

[07:24:54] [MySQL] (Main Pipelines) Connecting to localhost...
[07:24:54] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: ***** - User: *****
[07:24:54] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[07:24:54] [MySQL] Error number: 2002
vsskamal is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Plugin Linux Mysql Mr.Hardy Português/Portuguese 4 06/01/2014 02:56 PM
Mirror MySQL Plugin R5 for linux ? Mr.Sphirit Scripting Help 0 09/07/2012 08:31 PM
MySQL Plugin doesn't load on Linux (GLIBCXX_3.4.9 missing) Jochemd Server Support 7 09/07/2011 01:30 PM
Streamer Plugin Fails BrokenBlades1992 Help Archive 10 03/04/2010 03:05 AM


All times are GMT. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.