SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 08/09/2018, 05:54 PM   #21
Louwwieee42
Little Clucker
 
Join Date: May 2016
Posts: 47
Reputation: 0
Default Re: MySQL runtime 19 errors.

Quote:
Originally Posted by Calisthenics View Post

That only includes the mysql.so, is that all I need? Not the include? I assume no need to re-compiled then?
Louwwieee42 is offline   Reply With Quote
Old 08/09/2018, 05:58 PM   #22
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,228
Reputation: 205
Default Re: MySQL runtime 19 errors.

The include file is in the "win" folder.
Calisthenics is offline   Reply With Quote
Old 08/09/2018, 06:11 PM   #23
Louwwieee42
Little Clucker
 
Join Date: May 2016
Posts: 47
Reputation: 0
Default Re: MySQL runtime 19 errors.

Quote:
Originally Posted by Calisthenics View Post
The include file is in the "win" folder.
I've install the plugin and include, edited the server.cfg to use `mysql.so` not `mysql.so`, here's the logs.


HTML Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[18:06:11] password = ""  (string)
[18:06:11] 
[18:06:11] Server Plugins
[18:06:11] --------------
[18:06:11]  Loading plugin: crashdetect.so
[18:06:11]   CrashDetect v4.15.1 is OK.
[18:06:11]   Loaded.
[18:06:11]  Loading plugin: streamer.so
[18:06:11] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[18:06:11]   Loaded.
[18:06:11]  Loading plugin: sscanf.so
[18:06:11] 

[18:06:11]  ===============================

[18:06:11]       sscanf plugin loaded.     

[18:06:11]          Version:  2.8.2        

[18:06:11]    (c) 2012 Alex "******" Cole  

[18:06:11]  ===============================

[18:06:11]   Loaded.
[18:06:11]  Loading plugin: mysql.so
[18:06:11]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[18:06:11]  Loading plugin: socket.so
[18:06:11]  Socket plugin v0.2b loaded.
[18:06:11]   Loaded.
[18:06:11]  Loaded 4 plugins.

[18:06:11] 
[18:06:11] Filterscripts
[18:06:11] ---------------
[18:06:11]   Loading filterscript 'gm_custmapping.amx'...
[18:06:11]   Loading filterscript 'animations.amx'...
[18:06:11]   Loading filterscript 'int.amx'...
[18:06:11]  nInteriors by Norn successfully loaded.
[18:06:11]   Loading filterscript 'pos.amx'...
[18:06:12]   Loading filterscript 'UMask.amx'...
[18:06:12] OnFilter
[18:06:12] ------------------------------
[18:06:12] | Unique Mask System Loaded!-Edgar |
[18:06:12] ------------------------------
[18:06:12]   Loaded 5 filterscripts.

[18:06:12] [debug] Run time error 19: "File or function is not found"
[18:06:12] [debug]  mysql_query
[18:06:12] [debug]  mysql_connect
[18:06:12] [debug]  mysql_insert_id
[18:06:12] [debug]  mysql_store_result
[18:06:12] [debug]  mysql_num_rows
[18:06:12] [debug]  mysql_retrieve_row
[18:06:12] [debug]  mysql_fetch_field_row
[18:06:12] [debug]  mysql_free_result
[18:06:12] OnGameo
[18:06:12] [debug] Run time error 19: "File or function is not found"
[18:06:12] [debug]  mysql_query
[18:06:12] [debug]  mysql_connect
[18:06:12] [debug]  mysql_insert_id
[18:06:12] [debug]  mysql_store_result
[18:06:12] [debug]  mysql_num_rows
[18:06:12] [debug]  mysql_retrieve_row
[18:06:12] [debug]  mysql_fetch_field_row
[18:06:12] [debug]  mysql_free_result
[18:06:12] Script[gamemodes/EMG.amx]: Run time error 19: "File or function is not found"
[18:06:12] Number of vehicle models: 0
Louwwieee42 is offline   Reply With Quote
Old 09/09/2018, 07:06 AM   #24
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,228
Reputation: 205
Default Re: MySQL runtime 19 errors.

There are many threads about libmysqlclient_r.so.16 but very few have a solid solution.

Read these:
http://forum.sa-mp.com/showpost.php?...&postcount=553
http://forum.sa-mp.com/showthread.php?t=280057
Calisthenics is offline   Reply With Quote
Old 09/09/2018, 07:34 AM   #25
Sew_Sumi
Banned
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,244
Reputation: 525
Default Re: MySQL runtime 19 errors.

You actually just need to install the MySQL client on the server, but thing is, if it's CentOS, you're in for a world of hurt...
Sew_Sumi is offline   Reply With Quote
Old 09/09/2018, 09:03 AM   #26
Louwwieee42
Little Clucker
 
Join Date: May 2016
Posts: 47
Reputation: 0
Default Re: MySQL runtime 19 errors.

Quote:
Originally Posted by Calisthenics View Post
There are many threads about libmysqlclient_r.so.16 but very few have a solid solution.

Read these:
http://forum.sa-mp.com/showpost.php?...&postcount=553
http://forum.sa-mp.com/showthread.php?t=280057

I already have, it's Ubuntu 16.04.

- https://blacklabelhost.com/share/Mob...9_09-58-55.png


Honestly tried all of those posts.
Louwwieee42 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
[Tutorial] Fixes for runtime errors Emmet_ Tutorials 12 23/07/2019 02:44 AM
Multiple runtime errors NealPeteros Scripting Help 9 31/05/2017 06:24 AM
[HELP] Runtime errors BornHuman Scripting Help 5 05/12/2015 09:27 PM
AMX BACKTRACE + RUNTIME ERRORS AroseKhanNiazi Scripting Help 5 04/11/2014 11:55 AM
Help Needed With Runtime Errors Joshy_Elite Scripting Help 1 02/09/2012 09:39 AM


All times are GMT. The time now is 06:39 PM.


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