mysql_static
#1

Hello guys,i have a question,how do i use mysql_static ? My host can-t put some libraries and i neeed to use static version,how do i do that,i have the plugin mysql_static,
i edit it on server .cfg ?
i edit it on gamemode?

How do i change mysql with mysql_static ?
Reply
#2

Just change mysql.so to mysql_static.so in your server.cfg and that's it.
Reply
#3

Did not work,look what i`ve got

PHP код:
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[00:59:42
[
00:59:42Server Plugins
[00:59:42] --------------
[
00:59:42]  Loading pluginmysql_static.so
[00:59:42]   Failed (/usr/lib32/libstdc++.so.6version `GLIBCXX_3.4.15' not found (required by plugins/mysql_static.so))
[00:59:42]  Loading plugin: crashdetect.so
[00:59:42]   CrashDetect v4.15.1 is OK.
[00:59:42]   Loaded.
[00:59:42]  Loading plugin: streamer.so
[00:59:42] 
*** Streamer Plugin v2.7.7 by Incognito loaded ***
[00:59:42]   Loaded.
[00:59:42]  Loading plugin: sscanf.so
[00:59:42] 
[00:59:42]  ===============================
[00:59:42]       sscanf plugin loaded.     
[00:59:42]          Version:  2.8.1        
[00:59:42]    © 2012 Alex "******" Cole  
[00:59:42]  ===============================
[00:59:42]   Loaded.
[00:59:42]  Loading plugin: Whirlpool.so
[00:59:42]  
[00:59:42]  ==================
[00:59:42]  
[00:59:42]   Whirlpool loaded
[00:59:42]  
[00:59:42]  ==================
[00:59:42]  
[00:59:42]   Loaded.
[00:59:42]  Loading plugin: fixes2.so
[00:59:42] 
[00:59:42]  ===============================
[00:59:42]        fixes plugin loaded.     
[00:59:42]    © 2012 Alex "******" Cole
[00:59:42]  ===============================
[00:59:42]
   Loaded.
[00:59:42]
  Loaded 5 plugins.
[00:59:42]
 
[00:59:42]
 Filterscripts
[00:59:42]
 ---------------
[00:59:42]
   Loading filterscript 'ls_apartments1.amx'...
[00:59:42]
 
[00:59:42]
   |---------------------------------------------------
[00:59:42]
   |--- LS Apartments 1 Filterscript
[00:59:42]
   |--  Script v1.02
[00:59:42]
   |--  5th February 2015
[00:59:42]
   |---------------------------------------------------
[00:59:42]
   |--  LS Apartments 1 Building object created
[00:59:42]
   |--  LS Apartments 1 Car Park object created
[00:59:42]
   |--  LS Apartments 1 Elevator created
[00:59:42]
   |---------------------------------------------------
[00:59:42]
   Loading filterscript 'ls_beachside.amx'...
[00:59:42]
 
[00:59:42]
   |---------------------------------------------------
[00:59:42]
   |--- LS BeachSide Filterscript
[00:59:42]
   |--  Script v1.03
[00:59:42]
   |--  19th April 2015
[00:59:42]
   |---------------------------------------------------
[00:59:42]
   |--  LS BeachSide Building Elevator created
[00:59:42]
   |---------------------------------------------------
[00:59:42]
   Loaded 2 filterscripts.
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 Script[gamemodes/pcrpg.amx]: Run time error 19: "File or function is not found"
[00:59:42]
 Number of vehicle models: 0
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id
[00:59:42]
 [debug] Run time error 19: "File or function is not found"
[00:59:42]
 [debug]  cache_get_row_count
[00:59:42]
 [debug]  cache_get_field_content_int
[00:59:42]
 [debug]  cache_get_field_content
[00:59:42]
 [debug]  mysql_format
[00:59:42]
 [debug]  mysql_tquery
[00:59:42]
 [debug]  cache_get_field_content_float
[00:59:42]
 [debug]  mysql_connect
[00:59:42]
 [debug]  mysql_log
[00:59:42]
 [debug]  mysql_close
[00:59:42]
 [debug]  cache_insert_id 
Reply
#4

That means the mysql_static version is not the same as the include version. Download from here, the one that says mysql-r39-3-debian7.tgz and use the mysql_static from that folder.
Reply
#5

i did the exact thing.still not working.
Reply
#6

Sorry I didn't notice this error
Quote:

Failed (/usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by plugins/mysql_static.so))

You're gonna have to contact your host on this one, or wait for other replies because I've never seen this error before :/ Try using others mysql.so files that came in that download.
Reply
#7

Your host is using outdated software and the fact they're unable to install the required 32bit libs to use mySQL is a good example of how badly managed they are and inexperienced, get away from them.
Reply
#8

i told them and they said they can not install a GLIBCXX library.
Reply
#9

the static version you're using requires outdated libs use a newer version, the fact your host doesn't have the libs to run a non static mySQL version is also a bad thing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)