On Fri, Oct 22, 2010 at 10:39 AM, Govi <[email protected]> wrote:

> hi jayakumar ,
>                    You have to start mysql service first
> login as a root user then run this
> #service mysqld start
> or
> #/etc/init.d/mysqld start
> then
> #chkconfig mysqld on
> then you can use mysql command.
>
>
This works for MySQL that has been installed separately. As the OP has used
XAMPP it is not installed as a service. So /etc/init.d/ has no related
files. Instead the scripts are located at /opt/lampp

@jayakumar: Check if any other MySQL server (installed separately) is
running on the machine. Try this:
      $sudo /etc/init.d/mysql stop

Then start your XAMPP's MySQL using /opt/lampp/lampp startmysql.

Try this out and please update the result here.

-- 
நன்றிகளுடன்,
விக்னேஷ்.
http://krvignesh.wordpress.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to