MySQL Issues
#1

Okay, so i get this when starting my server...

pawn Код:
[03:46:42]   Loaded.
[03:46:42]  Loading plugin: mysql.so
[03:46:42]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[03:46:42]  Loading plugin: Whirlpool.so
[03:46:42]  
[03:46:42]  ==================
[03:46:42]  
[03:46:42]   Whirlpool loaded
[03:46:42]  
[03:46:42]  ==================
[03:46:42]  
[03:46:42]   Loaded.
[03:46:42]  Loading plugin: crashdetect.so
[03:46:42]   crashdetect v4.8 is OK.
[03:46:42]   Loaded.
[03:46:42]  Loaded 4 plugins.

[03:46:42]
[03:46:42] Ban list
[03:46:42] --------
[03:46:42]  Loaded: samp.ban
[03:46:42]
[03:46:42]
[03:46:42] Filterscripts
[03:46:42] ---------------
[03:46:42]   Loading filterscript 'yom_buttons.amx'...
[03:46:42]   Loading filterscript 'gcustom.amx'...
[03:46:43]   Loaded 2 filterscripts.

[03:46:43] [debug] Run time error 19: "File or function is not found"
[03:46:43] [debug]   cache_get_data
[03:46:43] [debug]   cache_get_field_content
[03:46:43] [debug]   mysql_function_query
[03:46:43] [debug]   mysql_debug
[03:46:43] [debug]   mysql_connect
[03:46:43] [debug]   mysql_ping
[03:46:43] [debug]   mysql_close
[03:46:43] [debug]   mysql_real_escape_string
[03:46:43] [debug]   cache_get_row
[03:46:43] [debug]   mysql_stat
[03:46:43] [debug]   mysql_affected_rows
[03:46:43] [debug] Run time error 19: "File or function is not found"
[03:46:43] [debug]   cache_get_data
[03:46:43] [debug]   cache_get_field_content
[03:46:43] [debug]   mysql_function_query
[03:46:43] [debug]   mysql_debug
[03:46:43] [debug]   mysql_connect
[03:46:43] [debug]   mysql_ping
[03:46:43] [debug]   mysql_close
[03:46:43] [debug]   mysql_real_escape_string
[03:46:43] [debug]   cache_get_row
[03:46:43] [debug]   mysql_stat
[03:46:43] [debug]   mysql_affected_rows

Any clue how to fix this?


I've added libmysql in the main directory, and plugins folder. I've done all instructions I've possibly could find but can't get anything functioning!
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=249226
Reply
#3

I get this now,

pawn Код:
[07:37:56]    Error: Function not registered: 'cache_get_data'
[07:37:56]    Error: Function not registered: 'cache_get_field_content'
[07:37:56]    Error: Function not registered: 'mysql_function_query'
[07:37:56]    Error: Function not registered: 'cache_get_row'
[07:37:56] [debug] Run time error 19: "File or function is not found"
[07:37:56] [debug]   cache_get_data
[07:37:56] [debug]   cache_get_field_content
[07:37:56] [debug]   mysql_function_query
[07:37:56] [debug]   cache_get_row
[07:37:56] [debug] Run time error 19: "File or function is not found"
[07:37:56] [debug]   cache_get_data
[07:37:56] [debug]   cache_get_field_content
[07:37:56] [debug]   mysql_function_query
[07:37:56] [debug]   cache_get_row
Reply
#4

Are you sure you have the correct include AND plugin?
Reply
#5

Quote:
Originally Posted by Tee
Посмотреть сообщение
Are you sure you have the correct include AND plugin?
Yes, I used the includes and plugins from the mysql package.


The plugin I use it..."mysql_centos.so" since "mysql.so" was give me a libmysqlclient thingi errors..



EDIT:

This is what I get with the mysql.so plugin,

pawn Код:
[07:46:11]   Loaded.
[07:46:11]  Loading plugin: mysql.so
[07:46:11]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[07:46:11]  Loading plugin: Whirlpool.so
[07:46:11]  
[07:46:11]  ==================
[07:46:11]  
[07:46:11]   Whirlpool loaded
[07:46:11]  
[07:46:11]  ==================
[07:46:11]  
[07:46:11]   Loaded.
[07:46:11]  Loading plugin: crashdetect.so
[07:46:11]   crashdetect v4.8 is OK.
[07:46:11]   Loaded.
[07:46:11]  Loading plugin: nativechecker.so
[07:46:11]   Loaded.
[07:46:11]  Loaded 5 plugins.

[07:46:11]
[07:46:11] Ban list
[07:46:11] --------
[07:46:11]  Loaded: samp.ban
[07:46:11]
[07:46:11]
[07:46:11] Filterscripts
[07:46:11] ---------------
[07:46:11]   Loading filterscript 'yom_buttons.amx'...
[07:46:11]   Loading filterscript 'gcustom.amx'...
[07:46:11]   Loaded 2 filterscripts.

[07:46:11]    Error: Function not registered: 'cache_get_data'
[07:46:11]    Error: Function not registered: 'cache_get_field_content'
[07:46:11]    Error: Function not registered: 'mysql_function_query'
[07:46:11]    Error: Function not registered: 'mysql_debug'
[07:46:11]    Error: Function not registered: 'mysql_connect'
[07:46:11]    Error: Function not registered: 'mysql_ping'
[07:46:11]    Error: Function not registered: 'mysql_close'
[07:46:11]    Error: Function not registered: 'mysql_real_escape_string'
[07:46:11]    Error: Function not registered: 'cache_get_row'
[07:46:11]    Error: Function not registered: 'mysql_stat'
[07:46:11]    Error: Function not registered: 'mysql_affected_rows'
[07:46:11] [debug] Run time error 19: "File or function is not found"
[07:46:11] [debug]   cache_get_data
[07:46:11] [debug]   cache_get_field_content
[07:46:11] [debug]   mysql_function_query
[07:46:11] [debug]   mysql_debug
[07:46:11] [debug]   mysql_connect
[07:46:11] [debug]   mysql_ping
[07:46:11] [debug]   mysql_close
[07:46:11] [debug]   mysql_real_escape_string
[07:46:11] [debug]   cache_get_row
[07:46:11] [debug]   mysql_stat
[07:46:11] [debug]   mysql_affected_rows
[07:46:11] [debug] Run time error 19: "File or function is not found"
[07:46:11] [debug]   cache_get_data
[07:46:11] [debug]   cache_get_field_content
[07:46:11] [debug]   mysql_function_query
[07:46:11] [debug]   mysql_debug
[07:46:11] [debug]   mysql_connect
[07:46:11] [debug]   mysql_ping
[07:46:11] [debug]   mysql_close
[07:46:11] [debug]   mysql_real_escape_string
[07:46:11] [debug]   cache_get_row
[07:46:11] [debug]   mysql_stat
[07:46:11] [debug]   mysql_affected_rows
Reply
#6

Works fine on windows, not on linux.
Reply
#7

Bump, can someone help me please!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)