MySQL Not Connecting.
#1

Hello. i was recenly making a mysql system. so when i run my FS, it says MySQL Connection failed. please help. i use mysql R41-2.

mysql logs:
Код:
[16/03/2017 14:03:54] [ERROR] mysql_connect: handle error: no database specified
[16/03/2017 14:03:55] [ERROR] mysql_connect: handle error: no database specified
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:03:55] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:16] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] cache_get_row_count: no active cache
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] cache_get_row_count: no active cache
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
[16/03/2017 14:04:17] [ERROR] mysql_query: invalid connection handle '0'
Reply
#2

PHP код:
[16/03/2017 14:03:54] [ERRORmysql_connecthandle errorno database specified 
That already tells you, you didn't pick a database to connect to, check your connection details
Reply
#3

i did it at the top of the script and i have that same database in PHPMyAdmin too.idk why its not able to get connection from it....
Reply
#4

Assuming you do not use a password, that would mean you use R40+ so you have to switch 3rd with 4th parameter: https://sampwiki.blast.hk/wiki/MySQL/R40#mysql_connect
Reply
#5

Oh damn. i am so stupid. i didnt checked the syntax before post here.Its my bad. thanks for that. rep+.

EDIT:
Still, mysql unable to connect. Here is new MYSQL LOg.
Код:
[17/03/2017 14:23:29] [WARNING] mysql_connect: no password specified
[17/03/2017 14:23:31] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2003 'Can't connect to MySQL server on 'localhost' (0)'
[17/03/2017 14:23:33] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2003 'Can't connect to MySQL server on 'localhost' (0)'
[17/03/2017 14:23:35] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2003 'Can't connect to MySQL server on 'localhost' (0)'
[17/03/2017 14:23:37] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2003 'Can't connect to MySQL server on 'localhost' (0)'
[17/03/2017 14:23:37] [WARNING] mysql_connect: no password specified
[17/03/2017 14:23:37] [WARNING] duplicate connection detected: handle id 1 already exists with host = 'localhost', username = 'root' and database = 'myrp'
[17/03/2017 14:23:37] [ERROR] cache_get_row_count: no active cache
[17/03/2017 14:23:37] [ERROR] cache_get_row_count: no active cache
i changed the syntax but still not working....

EDIT 2:
Its working now. i had to turn on WAMPserver service in order to use MYSQL. i still wonder how will it work on host? anyway, thanks for helping me
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)