LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2012, 07:46 PM   #16
Omer aslam
LQ Newbie
 
Registered: Aug 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled

In status section MySql Database's Status is Deactivaed....
 
Old 08-10-2012, 08:22 PM   #17
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Try running the command to stop xampp,

Code:
/opt/lampp/lampp stop
then running the command to start it.

Code:
/opt/lampp/lampp start
Post the output of the command here.

It should look something like this:

Code:
root@tuna:~# /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.7.7...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
root@tuna:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
 
1 members found this post helpful.
Old 08-11-2012, 05:19 AM   #18
Omer aslam
LQ Newbie
 
Registered: Aug 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Try running the command to stop xampp,

Code:
/opt/lampp/lampp stop
then running the command to start it.

Code:
/opt/lampp/lampp start
Post the output of the command here.

It should look something like this:

Code:
root@tuna:~# /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.7.7...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.
root@tuna:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
Output :

Code:
root@ubuntu:/home/comsats# /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.8.0...
XAMPP: Stopping Apache with SSL...
XAMPP: XAMPP-MySQL is not running.
XAMPP: Stopping ProFTPD...
XAMPP stopped.
root@ubuntu:/home/comsats# /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.0...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
 
Old 08-11-2012, 05:32 AM   #19
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Run 'chmod 644 /opt/lampp/etc/my.cnf' as root and restart XAMPP. If that still doesn't start MySQL run mysqld manually with the "--print-defaults" switch and add the printed defaults to start "mysqld_safe -v" to see why it won't start.
 
1 members found this post helpful.
Old 08-11-2012, 08:13 AM   #20
Omer aslam
LQ Newbie
 
Registered: Aug 2012
Posts: 22

Original Poster
Rep: Reputation: Disabled
Finally it runs correctly...........I am very Happy......Thankyou very much all of you for your help.........
once again thanks
 
Old 08-12-2012, 03:29 PM   #21
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Omer aslam View Post
Finally it runs correctly.
Please post your solution for the benefit of others, TIA.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XAMPP 1.7.7 - XAMPP: Couldn't start MySQL sonic656 Linux - Software 2 10-09-2011 12:43 PM
phpMyAdmin error: client denied by server configuration: /usr/share/phpMyAdmin Kropotkin Linux - Server 2 05-15-2010 12:55 PM
phpmyadmin shows blank page; no "phpmyadmin" database in mysql qajaq Linux - Software 2 12-20-2009 12:23 PM
Xampp kscallions Linux - Newbie 1 02-17-2008 09:14 PM
xampp charnel Programming 0 07-15-2005 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration