Re: Couldn't start MySQL!
Posted: 03. January 2010 11:52
[SOLVED] - Fedora 8, 12, CentOS 5.0, Red Hat, estimated time [ 5 minutes ]
Step 1: [ you dont need if you are trying to debug your existing problem, this is a fresh startup for XAMPP, i must have to run it, in that case ]
===================================
* if you have problem running first mysql.
1. yum remove mysql\*
or
Any manual (rm -fr lampp, or find / -name "mysql*" ), and simply remove them to trash first (don't do full delete always, make sure)
Step 2: [Careful]
==================================
1. LAMPP is a solid working tool, but you will start those problem if you choosed
GUI extract ( like window > select zip file > unzip !! no )
2. Use the command mentioned in XAMPP site after you download:
$ tar xvfz xampp-linux-1.7.3.tar.gz -C /opt
* It will not miss any file inside the compressed tar.gz and put all provided files by XAMPP (developers) to /opt (so you are safely landed by XAMPP, without crash landing)
Step 3:
===================================
1. Are you root ? or sudo ? what ever use
$ su
$ password: myrootpassword_press_enter
[root@shamun opt]# chown /opt/lampp/var/mysql
* please note its not going to solve, you can give a try, for me didnt worked by chaning permissions/ chroot/ chown (but you can try)
Step 4:
==================================
1. $/opt/lampp/lampp start
2. if anything failed repeat step 1 till 4, post here also
Step 1: [ you dont need if you are trying to debug your existing problem, this is a fresh startup for XAMPP, i must have to run it, in that case ]
===================================
* if you have problem running first mysql.
1. yum remove mysql\*
or
Any manual (rm -fr lampp, or find / -name "mysql*" ), and simply remove them to trash first (don't do full delete always, make sure)
Step 2: [Careful]
==================================
1. LAMPP is a solid working tool, but you will start those problem if you choosed
GUI extract ( like window > select zip file > unzip !! no )
2. Use the command mentioned in XAMPP site after you download:
$ tar xvfz xampp-linux-1.7.3.tar.gz -C /opt
* It will not miss any file inside the compressed tar.gz and put all provided files by XAMPP (developers) to /opt (so you are safely landed by XAMPP, without crash landing)
Step 3:
===================================
1. Are you root ? or sudo ? what ever use
$ su
$ password: myrootpassword_press_enter
[root@shamun opt]# chown /opt/lampp/var/mysql
* please note its not going to solve, you can give a try, for me didnt worked by chaning permissions/ chroot/ chown (but you can try)
Step 4:
==================================
1. $/opt/lampp/lampp start
2. if anything failed repeat step 1 till 4, post here also