09.06.2016, 08:13
When I Run My Mysql Based Script In My Pc It Run Fine But When i Run Then In My Server Host It Don't Run Please Help Me.I Have Found A Difference in Mysql Which We Can Open By going herehttp://localhost/phpmyadmin and you will see that on opening of the pHpmyadmin on the right hand side there is written this given below.
But when i open the phpmyadmin page of my server it shows a different thing on the same place it says this given below
So i want to know does i have to change my plugins because of the text given in CODE
it gives this error in server log
Please help me When ever i load a mysql script it doesn't work.i have tried two scripts of mysql to run on the my host server but both gave the same error.but both the scripts run on my PC.please help me
Also tell me one thing that that i have to write in this and answers the questions.
My Questions
mysql_host which i had written is correct or not
Код:
Database server Server: 127.0.0.1 via TCP/IP Server type: MariaDB Server version: 10.1.13-MariaDB - mariadb.org binary distribution Protocol version: 10 User: root@localhost Server charset: UTF-8 Unicode (utf8)
Код:
Server: Localhost via UNIX socket Server type: MySQL Server version: 5.5.49-0ubuntu0.14.04.1 - (Ubuntu) Protocol version: 10 User: f1697_CNR@localhost Server charset: UTF-8 Unicode (utf8)
it gives this error in server log
Код:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [04:09:52] [04:09:52] Server Plugins [04:09:52] -------------- [04:09:52] Loading plugin: mysql.so [04:09:52] Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) [04:09:52] Loading plugin: sscanf.so [04:09:52] [04:09:52] =============================== [04:09:52] sscanf plugin loaded. [04:09:52] © 2009 Alex "******" Cole [04:09:52] 0.3d-R2 500 Players "dnee" [04:09:52] =============================== [04:09:52] Loaded. [04:09:52] Loading plugin: streamer.so [04:09:52] *** Streamer Plugin v2.5 by Incognito loaded *** [04:09:52] Loaded. [04:09:52] Loading plugin: Whirlpool.so [04:09:52] [04:09:52] ================== [04:09:52] [04:09:52] Whirlpool loaded [04:09:52] [04:09:52] ================== [04:09:52] [04:09:52] Loaded. [04:09:52] Loaded 3 plugins. [04:09:52] [04:09:52] Filterscripts [04:09:52] --------------- [04:09:52] Loading filterscript 'base.amx'... [04:09:52] --Base FS loaded. [04:09:52] Loading filterscript 'gl_actions.amx'... [04:09:52] Loading filterscript 'gl_property.amx'... [04:09:52] ----------------------------------- [04:09:52] Grand Larceny Property Filterscript [04:09:52] ----------------------------------- [04:09:52] Loading filterscript 'gl_realtime.amx'... [04:09:52] Loaded 4 filterscripts. [04:09:52] Reading File: blank [04:09:52] Reading File: properties/houses.txt [04:09:52] Reading File: properties/businesses.txt [04:09:52] Reading File: properties/banks.txt [04:09:52] Reading File: properties/police.txt [04:09:52] Script[gamemodes/COD-DW-v1.50.amx]: Run time error 19: "File or function is not found" [04:09:52] Number of vehicle models: 0
Also tell me one thing that that i have to write in this and answers the questions.
Код:
#define MYSQL_HOST "bhs1.frag.gs" #define MYSQL_USER "f1697_CNR" #define MYSQL_PASS "" #define MYSQL_DB "f1697_CNR"
mysql_host which i had written is correct or not