Author Topic: mysql workbench 5.2.34  (Read 2316 times)

Offline tinosezc

  • Jr. Member
  • **
  • Posts: 12
mysql workbench 5.2.34
« on: February 02, 2012, 04:45:16 AM »
Not able to connect to server

message:
Database driver: Failed to open library 'mysqlcppconn'. Check settings.

mysqlcppconn and mysqlcppconn6 exist on /usr/lib

With "mysql-administrator" was working fine.


Offline tinosezc

  • Jr. Member
  • **
  • Posts: 12
Re: mysql workbench 5.2.34
« Reply #1 on: February 08, 2012, 08:01:56 AM »
Found a solution.

on /usr/lib/mysql-workbench I have "libmysqlcppconn.so.6"

copy and rename "libmysqlcppconn.so.5"

restart workbench

works

Offline tinosezc

  • Jr. Member
  • **
  • Posts: 12
Re: mysql workbench 5.2.34 (solved)
« Reply #2 on: February 08, 2012, 08:03:07 AM »
see first reply

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: mysql workbench 5.2.34
« Reply #3 on: February 08, 2012, 09:16:07 AM »
Mark as Solved by self?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: mysql workbench 5.2.34
« Reply #4 on: February 09, 2012, 12:00:24 AM »
Mark as Solved by self?


Something that has to be changed in the package?
=> I don't fully understand the problem (message) and the solution  ??? :-\ :)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: mysql workbench 5.2.34
« Reply #5 on: February 09, 2012, 05:01:12 AM »
Something that has to be changed in the package?
=> I don't fully understand the problem (message) and the solution  ??? :-\ :)

Nor do I. I gotta start using these emoticons more often.  ??? ::) :-[
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline masarin

  • Full Member
  • ***
  • Posts: 124
Re: mysql workbench 5.2.34
« Reply #6 on: February 28, 2012, 12:55:05 PM »
Cant get a connection ether
I have this same message:

Not able to connect to server
message:
Database driver: Failed to open library 'mysqlcppconn'. Check settings.

I dont understand the lolution above.



Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: mysql workbench 5.2.34
« Reply #7 on: February 28, 2012, 01:11:07 PM »
Just installed it and it's working just fine here. Issue the following in a terminal:

ls -l /usr/lib/libmysql*

The (minimum) listing you should see:

lrwxrwxrwx 1 root root      26 Dec 23 21:58 /usr/lib/libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0*
-rwxr-xr-x 1 root root 1515628 Mar  7  2011 /usr/lib/libmysqlclient_r.so.16.0.0*
lrwxrwxrwx 1 root root      24 Dec 23 21:58 /usr/lib/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0*
-rwxr-xr-x 1 root root 1508716 Mar  7  2011 /usr/lib/libmysqlclient.so.16.0.0*
lrwxrwxrwx 1 root root      26 Feb 28 14:04 /usr/lib/libmysqlcppconn.so.6 -> libmysqlcppconn.so.6.1.1.1*
-rwxr-xr-x 1 root root  613612 Nov 29 06:28 /usr/lib/libmysqlcppconn.so.6.1.1.1*

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline nalle

  • New Friend
  • *
  • Posts: 1
Re: mysql workbench 5.2.34
« Reply #8 on: February 29, 2012, 12:17:20 AM »
Just installed it and it's working just fine here. Issue the following in a terminal:

ls -l /usr/lib/libmysql*

The (minimum) listing you should see:

lrwxrwxrwx 1 root root      26 Dec 23 21:58 /usr/lib/libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0*
-rwxr-xr-x 1 root root 1515628 Mar  7  2011 /usr/lib/libmysqlclient_r.so.16.0.0*
lrwxrwxrwx 1 root root      24 Dec 23 21:58 /usr/lib/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0*
-rwxr-xr-x 1 root root 1508716 Mar  7  2011 /usr/lib/libmysqlclient.so.16.0.0*
lrwxrwxrwx 1 root root      26 Feb 28 14:04 /usr/lib/libmysqlcppconn.so.6 -> libmysqlcppconn.so.6.1.1.1*
-rwxr-xr-x 1 root root  613612 Nov 29 06:28 /usr/lib/libmysqlcppconn.so.6.1.1.1*

So putting the previous posts and this together, one would end up with having to make a symbolic link in this directory by:

su
cd /usr/lib/
ln -s libmysqlcppconn.so.6 libmysqlcppconn.so.5


Then it should work - anyway that's the case on my PC.

./nalle.

Offline masarin

  • Full Member
  • ***
  • Posts: 124
Re: mysql workbench 5.2.34
« Reply #9 on: February 29, 2012, 01:08:52 AM »
I think I have the required packages as deskribed by djohnston:

$ ls -l /usr/lib/libmysql*
lrwxrwxrwx 1 root root      26 jun  8  2011 /usr/lib/libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0*
-rwxr-xr-x 1 root root 1515628 mar  7  2011 /usr/lib/libmysqlclient_r.so.16.0.0*
lrwxrwxrwx 1 root root      24 jun  8  2011 /usr/lib/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0*
-rwxr-xr-x 1 root root 1508716 mar  7  2011 /usr/lib/libmysqlclient.so.16.0.0*
lrwxrwxrwx 1 root root      20 feb 29 08:36 /usr/lib/libmysqlcppconn.so.5 -> libmysqlcppconn.so.6*
lrwxrwxrwx 1 root root      26 jan 18 11:17 /usr/lib/libmysqlcppconn.so.6 -> libmysqlcppconn.so.6.1.1.1*
-rwxr-xr-x 1 root root  613612 nov 29 13:28 /usr/lib/libmysqlcppconn.so.6.1.1.1*

and I tried the sugested linking:
su
cd /usr/lib/
ln -s libmysqlcppconn.so.6 libmysqlcppconn.so.5


Now I have this error messages (How to do the checkings thats sugestded in the error message below?):

Failed to Connect to MySQL at 127.0.0.1:3306 with user root
Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Cannot Connect to Database Server
Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306:
  Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Please:
1 Check that mysql is running on server 127.0.0.1
2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
3 Check the root has rights to connect to 127.0.0.1 from your address (mysql rights define what clients can connect to the server and from which machines)
4 Make sure you are both providing a password if needed and using the correct password for 127.0.0.1 connecting from the host address you're connecting from
« Last Edit: February 29, 2012, 01:11:33 AM by masarin »

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2108
  • Rubenus Parvus MCMXCI
Re: mysql workbench 5.2.34
« Reply #10 on: February 29, 2012, 04:04:38 AM »
Is your localhost service running (look in PCLinuxOS Control Center >> System >> Manage services)...
=> and mysql service

Offline masarin

  • Full Member
  • ***
  • Posts: 124
Re: mysql workbench 5.2.34
« Reply #11 on: February 29, 2012, 12:39:06 PM »
Is your localhost service running (look in PCLinuxOS Control Center >> System >> Manage services)...
=> and mysql service

Yes its up and running. Starts at bootup.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: mysql workbench 5.2.34
« Reply #12 on: February 29, 2012, 05:27:00 PM »

So putting the previous posts and this together, one would end up with having to make a symbolic link in this directory by:

su
cd /usr/lib/
ln -s libmysqlcppconn.so.6 libmysqlcppconn.so.5


Then it should work - anyway that's the case on my PC.


Not sure why you'd need it. I have no libmysqlcppconn.so.5 symlink, and the program is working as intended.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: mysql workbench 5.2.34
« Reply #13 on: February 29, 2012, 05:43:49 PM »
masarin,

Please run the following in a terminal. It can be run as a regular user.

rpm -qa | grep mysql

If any of the following packages are missing, please post which ones are.

mysql-core-5.1.55-2pclos2011
mysql-workbench-5.2.34-1pclos2011
mysql-common-core-5.1.55-2pclos2011
libmysqlcppconn6-1.1.0-0.7.bzr916pclos2011
perl-DBD-mysql-4.013-2pclos2010
mysql-common-5.1.55-2pclos2011
mysql-5.1.55-2pclos2011
libmysql16-5.1.55-2pclos2011
mysql-client-5.1.55-2pclos2011
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline masarin

  • Full Member
  • ***
  • Posts: 124
Re: mysql workbench 5.2.34
« Reply #14 on: March 01, 2012, 02:19:58 AM »
$ rpm -qa | grep mysql
qt4-database-plugin-mysql-4.7.3-1pclos2011
mysql-common-core-5.1.55-2pclos2011
mysql-workbench-5.2.34-1pclos2011
mysql-5.1.55-2pclos2011
mysql-client-5.1.55-2pclos2011
libmysql16-5.1.55-2pclos2011
mysql-common-5.1.55-2pclos2011
mysql-core-5.1.55-2pclos2011
php-mysql-5.3.3-2pclos2011
libmysqlcppconn6-1.1.0-0.7.bzr916pclos2011
perl-DBD-mysql-4.013-2pclos2010
php-mysqli-5.3.3-2pclos2011

They are all there.
I can connect fine with phpMyAdmin in a browres via http://localhost/phpMyAdmin/