Hi All, Thank you very much.
I checked if mysql installed rpm -qa | grep mysql and found it is installed, so no need for yum installation. when i tried to start the service chkconfig mysql on error reading information on service mysql: No such file or directory sorry to disturb you. Regards, Rabe On Tue, Mar 4, 2014 at 9:40 PM, Reindl Harald <h.rei...@thelounge.net>wrote: > > > Am 04.03.2014 13:20, schrieb Asma rabe: > > I have checked before installation if mysql is installed using which > mysql > > i found no mysql is installed. > > which is pointless > rpm -qa | grep mysql > > > next i did rpm installation and got the errors > > rpm -i MySQL-server-5.6.16-1.el6.x86_64.rpm > > > > I got the following errors > > file /usr/share/mysql/czech/errmsg.sys from install of > > MySQL-server-5.6.16-1.el6.x86_64 conflicts with file from package > > mysql-libs-5.1.61-1.el6_2.1.x86_64 > > file /usr/share/mysql/danish/errmsg.sys from install of > > MySQL-server-5.6.16-1.el6.x86_64 conflicts with file from package > > mysql-libs-5.1.61-1.el6_2.1.x86_64 > > clearly shows there are at least the libraries installed which is > why i said "which" is pointless > > *do not* use the raw rpm command it can't solve any dependencies > use yum which works also for local downloaded RPM files > > > when i check now which mysql > > i found it has installed in /bin/mysql > > when i try to run mysql > > i doubt that MySQL-server contains /bin/mysql nor that after > the error above anything was installed expect you did not > show all what happened on your machine > > > Can't connect to local MySQL server through socket > '/var/mysql/mysql.sock' > > Any idea? > > installing something does not mean it gets started or even enabled > mysql is the client CLI connecting to a server, without specify one > it connects to the local unix socket but given that your install > above failed nor that you have tried to start mysqld that must fail > >