07-01-2013, 02:13 PM
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???
|
libmysqlclient error
|
|
07-01-2013, 02:13 PM
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???
07-01-2013, 02:14 PM
yea cause nothing else was working
07-01-2013, 02:16 PM
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 ![]()
07-01-2013, 02:16 PM
:/ 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.
07-01-2013, 02:17 PM
okay Ill restart everything thanks for the help, be back when its done
07-01-2013, 02:19 PM
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 ?
07-01-2013, 02:20 PM
ok, after installing centos, please get back here, ill try to post a small tuto on how you can install everything without problems.
07-01-2013, 02:22 PM
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
07-01-2013, 02:40 PM
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.
07-01-2013, 02:41 PM
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-relea...x86_64.rpm 32Bits yum install http://pkgs.repoforge.org/rpmforge-relea...f.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. |
|
« Next Oldest | Next Newest »
|