I have tried installing mysql several times but keep getting this error:
mysqld: unrecognized service
I've done:
yum remove mysql-server
yum remove mysql
and also
yum remove MySQL-*
then
yum install mysql-server
yum install mysql
yum install mysql-devel
and then both
/etc/init.d/mysqld start
and
service mysqld start
but keep getting that error.
Title says it all. I previously had mysql version 5.1 on my CENTOS 6 x86_64 OS.
I attempted to remove mysql 5.1 and replace it with an install of mysql 5.6.
Here is my uninstall process for mysql 5.1:
yum remove mysql
yum remove mysql-devel
yum remove mysql-client
rpm -qa | grep -i mysql
rpm -e mysql --nodeps
Here is my install process for mysql 5.6:
I got three rpm's for mysql 5.6.
Hi all,
I have installed phpmyadmin3.3 in my server. here my php package versions.
php-mysql-5.2.10-1.el5.centos
php-common-5.2.10-1.el5.centos
php-ldap-5.2.10-1.el5.centos
php-cli-5.2.10-1.el5.centos
php-imap-5.2.10-1.el5.centos
php-xmlrpc-5.2.10-1.el5.centos
php-pgsql-5.2.10-1.el5.centos
php-5.2.10-1.el5.centos
I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search mysql-devel, in addition to finding 5.1.58, I get a match for: 5.1.52-jason.1 .. utterramblings ..
I have installed mysql and phpmyadmin via, yum. I get the message
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
The server is not responding (or the local server's socket is not correctly configured).
The problem though, is with mysql itself.
# service mysqld start
Redirecting to /bin/systemctl start mysqld.service
Job failed.
Hi,
I Installed mysql on my CentOS 6.2 Server. But when I tried to change the location of /var/lib/mysql to another directory. I can't start the mysql.
I have mysql installed (from repos) on a development machine (laptop) and I don't need the daemon running on every boot. I've copied /etc/init/mysql.conf to /etc/init/mysql.conf.old and then removed everything following the "start on" line.
I really did it this time.. I deleted a database named MySQL in my server. Shortly after MySQL went haywire and now I cannot login as a user to mysql, I cannot re-install mysql, I get an error for every solution I try.
So I decided hell with it I'll remove mysql, php and start again. I used rpm -qa | grep mysql but it returned nothing.
I have two instances of mysql running on a server. I need two different init.d scripts. The two instances have different configuration files /etc/my.cnf and /etc/my-slave.cnf. I copied the /etc/init.d/mysql files to /etc/init.d/mysql-slave and changed the conf parameter to /etc/my-slave.cnf but the mysql-slave service is still controlling the first instance of mysql.