[Ilugc] Error in running mysql in fedora 13 ?
hi to all i installed successfully xampp on fedora 13 now how can i start mysql ? when i tried to start tried to run mysql and type the mysql in terminal ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) how can i solve the error and how can i try mysql ? i also tried this commands to start mysql but could not get the result ? /opt/lampp/lamp startmysql please how can i resolve the error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
On Fri, Oct 22, 2010 at 7:17 AM, jaya kumar wrote: > hi to all > > i installed successfully xampp on fedora 13 now how can i start mysql ? > > when i tried to start tried to run mysql and type the mysql in terminal > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > > how can i solve the error and how can i try mysql ? Did you try to start mysql as root user? -- With Regards, Mehul Ved ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
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. *Thanks & Regards* *Govi* *Mobile: +91 98407 45214* * **Save the Planet...* ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
On Fri, Oct 22, 2010 at 10:39 AM, Govi 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
Re: [Ilugc] Error in running mysql in fedora 13 ?
On Fri, Oct 22, 2010 at 7:17 AM, jaya kumar wrote: > hi to all > > i installed successfully xampp on fedora 13 now how can i start mysql ? > > when i tried to start tried to run mysql and type the mysql in terminal > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > > how can i solve the error and how can i try mysql ? > > i also tried this commands to start mysql but could not get the result ? > > /opt/lampp/lamp startmysql > > please how can i resolve the error > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) Not sure if you've already solved this problem. If not, check your SELinux settings, If it is only for development purposes, the easiest thing to do is to disable SELinux. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
Hi, I think your mysql daemon is not running. Please check its status using: sudo service mysqld status If it is not running, please start it using sudo service mysqld start. -Original Message- From: openbala To: ILUG-C Sent: Sat, Oct 23, 2010 1:31 pm Subject: Re: [Ilugc] Error in running mysql in fedora 13 ? On Fri, Oct 22, 2010 at 7:17 AM, jaya kumar wrote: > hi to all > > i installed successfully xampp on fedora 13 now how can i start mysql ? > > when i tried to start tried to run mysql and type the mysql in terminal > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) > > how can i solve the error and how can i try mysql ? > > i also tried this commands to start mysql but could not get the result ? > > /opt/lampp/lamp startmysql > > please how can i resolve the error > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/lib/mysql/mysql.sock' (2) Not sure if you've already solved this problem. If not, check your SELinux settings, If it is only for development purposes, the easiest thing to do is to disable SELinux. ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
On Sat, 2010-10-23 at 07:29 -0400, kuma...@techie.com wrote: > Hi, I think your mysql daemon is not running. Please check its status > using: sudo service mysqld status > If it is not running, please start it using sudo service mysqld start. > > fedora does not use sudo -- regards KG http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
Hi, --- On Sat, Oct 23, 2010 at 5:04 PM, Kenneth Gonsalves wrote: | fedora does not use sudo \-- It does. $ yum search sudo SK -- Shakthi Kannan http://www.shakthimaan.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
You can have sudo in Fedora. Just edit /etc/sudoers file as superuser, or use visudo. Add the line USERNAME ALL=(ALL) ALL, where USERNAME is the username. By the way, is your mysql running now? With Regards, --Kumaran R ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
Re: [Ilugc] Error in running mysql in fedora 13 ?
On Sat, 2010-10-23 at 20:14 +0530, Shakthi Kannan wrote: > > --- On Sat, Oct 23, 2010 at 5:04 PM, Kenneth Gonsalves > wrote: > | fedora does not use sudo > \-- > > It does. > > $ yum search sudo > > yes - just noticed it in fedora 12 - but it is not enabled by default and as far as I know most users just su to root to do their work. -- regards KG http://lawgon.livejournal.com ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc