RE: New to MySQL

2014-03-05 Thread Brian Van der Westhuizen [DATACOM]
Asma,
I think maybe it is a good idea if you start reading Mysql for dummies or 
something similar. If you do not understand the basic concepts of unix/linux 
and mysql, I see a hard road for you.

Google is you friend and I believe they would even have documentation in your 
native language.


Regards
Brian vd Westhuizen

-Original Message-
From: Asma rabe [mailto:asma.r...@gmail.com] 
Sent: Thursday, 6 March 2014 12:08 a.m.
To: Andrew Moore
Cc: Reindl Harald; mysql@lists.mysql.com
Subject: Re: New to MySQL

How to do that?
Thank you


On Wed, Mar 5, 2014 at 8:03 PM, Andrew Moore  wrote:

> Next action is to review the MySQL error log for the reason that it 
> failed.
>
> A
>
>
> On Wed, Mar 5, 2014 at 10:55 AM, Asma rabe  wrote:
>
>> 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 > >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
>> >
>> >
>>
>
>

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql



Re: New to MySQL

2014-03-05 Thread Reindl Harald


Am 05.03.2014 12:07, schrieb Asma rabe:
> How to do that?
> Thank you

besides that the reply was wrong - see my last one
it is respectless acting like you do asking every
single piece and not read any manual or search
http://www.catb.org/esr/faqs/smart-questions.html

Google exists
https://www.google.com/search?q=CentOS+mysql+log

> On Wed, Mar 5, 2014 at 8:03 PM, Andrew Moore  > wrote:
> 
> Next action is to review the MySQL error log for the reason that it 
> failed. 
> 
> On Wed, Mar 5, 2014 at 10:55 AM, Asma rabe  > wrote:
> 
> 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



signature.asc
Description: OpenPGP digital signature


Re: New to MySQL

2014-03-05 Thread Andrew Moore
enable *isa not* start - :D

This is true. The mailing list is not an interactive article on the basics
of installing and starting MySQL. There are 1000s of blog articles,
documentation and guides on doing this.

Perhaps looking here;

http://www.rackspace.com/knowledge_center/article/installing-mysql-server-on-centos

If you have some error messages pending the completion of the steps please
be complete with your problem and include the messages you receive.

A


On Wed, Mar 5, 2014 at 11:06 AM, Reindl Harald wrote:

>
>
> Am 05.03.2014 12:03, schrieb Andrew Moore:
> > Next action is to review the MySQL error log for the reason that it
> failed.
>
> oh no - don't reply with no clue
> chkconfig comes long before mysqld is invoked
> even if he would have spelled the service name correctly
> enable *isa not* start
> see my last answer
>
> > On Wed, Mar 5, 2014 at 10:55 AM, Asma rabe  asma.r...@gmail.com>> wrote:
> > 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
>
>


Re: New to MySQL

2014-03-05 Thread Asma rabe
How to do that?
Thank you


On Wed, Mar 5, 2014 at 8:03 PM, Andrew Moore  wrote:

> Next action is to review the MySQL error log for the reason that it
> failed.
>
> A
>
>
> On Wed, Mar 5, 2014 at 10:55 AM, Asma rabe  wrote:
>
>> 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 > >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
>> >
>> >
>>
>
>


Re: New to MySQL

2014-03-05 Thread Reindl Harald


Am 05.03.2014 12:03, schrieb Andrew Moore:
> Next action is to review the MySQL error log for the reason that it failed. 

oh no - don't reply with no clue
chkconfig comes long before mysqld is invoked
even if he would have spelled the service name correctly
enable *isa not* start
see my last answer

> On Wed, Mar 5, 2014 at 10:55 AM, Asma rabe  > wrote:
> 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



signature.asc
Description: OpenPGP digital signature


Re: New to MySQL

2014-03-05 Thread Reindl Harald


Am 05.03.2014 11:55, schrieb Asma rabe:
> I checked if mysql installed 
> rpm -qa | grep mysql

post outputs - it's respectless seek for help and hold
back infos because as you said you are new you likely
not understand really the output

> 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.

yum install bash-completion

chkconfig mysql will show you that the service
is named mysqld and not mysql

Google: enable and start mysql server on CentOS
would have also shown that

> On Tue, Mar 4, 2014 at 9:40 PM, Reindl Harald  > 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



signature.asc
Description: OpenPGP digital signature


Re: New to MySQL

2014-03-05 Thread Andrew Moore
Next action is to review the MySQL error log for the reason that it failed.

A


On Wed, Mar 5, 2014 at 10:55 AM, Asma rabe  wrote:

> 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  >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
> >
> >
>


Re: New to MySQL

2014-03-05 Thread Asma rabe
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 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
>
>