List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:March 4 2014 12:40pm
Subject:Re: New to MySQL
View as plain text  

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


Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Thread
New to MySQLAsma rabe27 Feb 2014
  • Re: New to MySQLIqbal Aroussi27 Feb 2014
    • Re: New to MySQLJohan De Meersman27 Feb 2014
    • Re: New to MySQLAsma rabe27 Feb 2014
      • Re: New to MySQLJohan De Meersman27 Feb 2014
        • Re: New to MySQLAsma rabe3 Mar 2014
          • Re: New to MySQLgeetanjali mehra3 Mar 2014
            • Re: New to MySQLJohan De Meersman3 Mar 2014
              • Re: New to MySQLgeetanjali mehra3 Mar 2014
                • Re: New to MySQLAsma rabe4 Mar 2014
                  • Re: New to MySQLReindl Harald4 Mar 2014
                    • Re: New to MySQLAsma rabe5 Mar 2014
                      • Re: New to MySQLAndrew Moore5 Mar 2014
                        • Re: New to MySQLReindl Harald5 Mar 2014
                          • Re: New to MySQLAndrew Moore5 Mar 2014
                        • Re: New to MySQLAsma rabe5 Mar 2014
                          • Re: New to MySQLReindl Harald5 Mar 2014
                          • RE: New to MySQLBrian Van der Westhuizen [DATACOM]5 Mar 2014
                            • Re: New to MySQLAsma rabe11 Mar 2014
                      • Re: New to MySQLReindl Harald5 Mar 2014
                  • RE: New to MySQLBrian Van der Westhuizen [DATACOM]4 Mar 2014
                    • Re: New to MySQLAndrew Moore4 Mar 2014
          • Re: New to MySQLMorgan Tocker3 Mar 2014