LCKB
libmysqlclient error - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193)
+---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157)
+----- Forum: Ep2 Support (https://lckb.dev/forum/forumdisplay.php?fid=166)
+------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=144)
+------ Thread: libmysqlclient error (/showthread.php?tid=2078)

Pages: 1 2 3 4 5 6 7 8 9 10


- CyberClaus - 07-01-2013


okay tried that and now when I restart I have httpd: unrecognized service and same thing for mysqld

 

Did you install Lampp or something in your centos???




- Kenpachi - 07-01-2013

yea cause nothing else was working




- Kotetsu - 07-01-2013


The installation worked fine, but always get the following error :

error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

 Thanks you, i will test your answer Kenpachi

Thx you very much for your helps Smile




- CyberClaus - 07-01-2013

:/ well... seems that your installation is faulty all over. i advise you to make a backup of your files, and install everything all over, but this time, ill give you the steps to the installation. First use centos 6.3 and please do no use the live version.




- Kenpachi - 07-01-2013

okay Ill restart everything thanks for the help, be back when its done




- Kotetsu - 07-01-2013


Well.. Work fine the Kenpachis answer, but, now, still get the same error of Kenpachi ( Cannot Connect DB !! > )

Thanks again.

 

EDIT : I need to reinstall all too ?




- CyberClaus - 07-01-2013

ok, after installing centos, please get back here, ill try to post a small tuto on how you can install everything without problems.




- CyberClaus - 07-01-2013



Well.. Work fine the Kenpachis answer, but, now, still get the same error of Kenpachi ( Cannot Connect DB !! > )

Thanks again.

 

EDIT : I need to reinstall all too ?

 

Im not sure Kotetsu, Kenpachi seems to have some sort of incompatibility or something. Im not sure what he did. open a terminal and write:

service mysqld status

and tell me what it says

also

service httpd status




- Kotetsu - 07-01-2013


service mysqld status :
mysqld (PID  983) wird ausgeführt ...
 

service httpd status:
httpd (PID  2876) wird ausgeführt ...
 

 

EDIT : Its in german, bcoz, its a linux german computer.




- CyberClaus - 07-01-2013


Ok, a quick and small tuto on how to install everything correctly in centos 6.3. Dont jumo steps, if you dont understand or dont know how to do it, ASK!

Lets try to be quick.

 

Installing mysql:

yum install mysql mysql-server

chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start

mysql_secure_installation
Installing Apache2:

yum install httpd

chkconfig --levels 235 httpd on

/etc/init.d/httpd start
Installing PHP5:

yum install php

/etc/init.d/httpd restart
Installing Setting things for support:

yum search php

yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc

yum install php-pecl-apc

/etc/init.d/httpd restart
Installing Phpmyadmin:

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
now, i dont know if you use 64bits system or 32bits, so ill post for both you do, the one that suits your system.

64Bits

yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
32Bits

yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm

yum install phpmyadmin
Now for configuring this:

nano /etc/httpd/conf.d/phpmyadmin.conf
Make sure yours look like mine, if not copy it :

#
# Web application to manage MySQL
#

#<Directory "/usr/share/phpmyadmin">
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#</Directory>

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin

Now change the authentication:

nano /usr/share/phpmyadmin/config.inc.php

[...]
/* Authentication type */
$cfg[Servers][$i][auth_type] = http;
[...]

Make sure you have set it to http just like mine.

/etc/init.d/httpd restart
Now you should be able to access phpmyadmin, open your browser and write : 127.0.0.1/phpmyadmin

 

Cheers, and please press thanks if this is usefull.