06-25-2013, 09:32 PM
I found a release of the libs in the ep2 release.
I had already done the yum update
still no mysql connection from lc server but is working with mysql -h ip -u username -p
2
wtf..............
|
libmysqlclient error
|
|
06-25-2013, 09:32 PM
I found a release of the libs in the ep2 release. I had already done the yum update still no mysql connection from lc server but is working with mysql -h ip -u username -p 2 wtf..............
06-25-2013, 09:42 PM
Do something for me, in terminal put : ifconfig now tell me if the loopback connection is set as 127.0.0.1 and another thing, its a physical machine or a VM?
06-25-2013, 09:48 PM
yea my loopback is 127.0.0.1 I forgot to say, my mysql server is on a spare pc on my home network on 192.168.1.155 Vbox is on my laptop running under 192.168.1.157 an my laptop is 192.168.1.150 Vbox & my laptop can connect to mysql on 192.168.1.155 in Windows navi & linux mysql client but the lc server fails connection. LC server & lunix mysql client are on the same vbox image if one can connect the other should also but it dont.I have now changed the login username to root without password an still not working but the other two work fine still.
06-25-2013, 09:51 PM
ok, you have something closing the connection/port Did you disabled iptables and tested? Also, your configuracion is set correctly? And another thing, the configuration of the mysql is done correctly?
06-25-2013, 09:53 PM
[Server] Number=1 IP=192.168.1.157 Port=50483 UserPort=4102 MAXSIZE=1000 [Char DB] IP=192.168.1.155 DBName=ep2_db User=root Password= [Post DB] IP=192.168.1.155 DBName=ep2_post User=root Password= How do i turn off iptables, Im quite the n00b when it comes to linux xD
06-25-2013, 09:54 PM
ahhhhhhhhhhhhhhhhhhhhhhhhhhhhh!!!! i know whats wrong XD tell me something, this test server you building, is for your own use or you will put it live?
06-25-2013, 09:55 PM
to disable iptables you issue the following commands : service iptables stop BUT, do this if you not putting it live
06-25-2013, 09:56 PM
yep its just a local test server for me to mess with, totally local setup ty for the command will test now.
06-25-2013, 09:57 PM
if even that way doesnt work, then you need to give permissions to the root user
06-25-2013, 09:59 PM
nope it didnt work. if even that way doesnt work, then you need to give permissions to the root user But doing this connects an i can see my databases from the same vbox lc server is on: mysql -h 192.168.1.155 -u root |
|
« Next Oldest | Next Newest »
|