MySQL r38 loading problem
#1

Hello everyone,

I'm facing problems while I'm trying to load MySQL R38 plugin. My definitions of the host are completely right and it worked well for R6 plugin of MySQL. But this is what I'm facing when I try to load MySQL R38 with the script. On server_log.txt it loads well, but on mysql_log.txt, here's it:

Код:
[ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[10:30:32] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I'm using Ubuntu 13.04 x86_64
Reply
#2

Download Socket.dll/.so and .inc and also define it in your script.
Reply
#3

Quote:
Originally Posted by KilotD
Посмотреть сообщение
Download Socket.dll/.so and .inc and also define it in your script.
That wouldn't just fix, it's not in regarding the "Socket" plugin requirement.
Reply
#4

Dump!!!!!!!!!!
Reply
#5

Quote:
Originally Posted by Fernado Samuel
Посмотреть сообщение
Dump!!!!!!!!!!
I think that's called "bump"...

Anyway, use the static version, that should solve your problem (use 'mysql_static.so').
Reply
#6

Thanks for your reply but I'm using mysql_static.so . It loads well on server_log.txt but the connection to database fails or any MySQL function fails.
Reply
#7

im too having this issue
Reply
#8

Try connect to host '127.0.0.1' instead of 'localhost'
Reply
#9

In mysql_connect function, do you use as host "localhost"? If yes, then change it to "127.0.0.1".

EDIT: Too late - I didn't refresh the page.
Reply
#10

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
In mysql_connect function, do you use as host "localhost"? If yes, then change it to "127.0.0.1".

EDIT: Too late - I didn't refresh the page.
LOL

i've got this problem too....
and i use 'localhost' too....
i will try to change it....

EDIT:
it's really worked!

BlueG should fix this bug....
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)