Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,737 members, 7,809,825 topics. Date: Friday, 26 April 2024 at 03:31 PM

Start Mysql In Xampp - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Start Mysql In Xampp (9274 Views)

Become A Php/mysql In Just 8 Saturdays!!! / Help, My Xampp Is Not Showing My Projects On Localhost / Afordable March Training On Html, Css, Joomla, Php/mysql In Abuja (2) (3) (4)

(1) (Reply) (Go Down)

Start Mysql In Xampp by olupentane(m): 7:39am On Dec 11, 2013
please I just installed xampp on my pc but mysql won't start, it only shows "Attempting to start mysql service " till eternity.
Thanks.
Re: Start Mysql In Xampp by Prec1ous(m): 7:43am On Dec 11, 2013
If your hard disk is partitioned. Copy the entirs xampp folder to your drive d or e. Run it again as an administrator after restarting the computer
Re: Start Mysql In Xampp by olupentane(m): 8:00am On Dec 11, 2013
Prec1ous: If your hard disk is partitioned. Copy the entirs xampp folder to your drive d or e. Run it again as an administrator after restarting the computer
my hard disk is not partitioned.
Re: Start Mysql In Xampp by Slyr0x: 10:38am On Dec 11, 2013
Check MySQL Log files in this directory: C:\xampp\mysql\data (this would help pinpoint what the problem is)

Also check if no other program or service uses the default MySql port. You can do this by using this command:

netstat -an | findstr "3306"

Cheers
Re: Start Mysql In Xampp by olupentane(m): 11:30am On Dec 11, 2013
Slyr0x: Check MySQL Log files in this directory: C:\xampp\mysql\data (this would help pinpoint what the problem is)

Also check if no other program or service uses the default MySql port. You can do this by using this command:

netstat -an | findstr "3306"

Cheers

please where do I enter that command?
Re: Start Mysql In Xampp by DualCore1: 11:46am On Dec 11, 2013
olupentane:

please where do I enter that command?
In your Windows command prompt.
Re: Start Mysql In Xampp by olupentane(m): 11:59am On Dec 11, 2013
Dual Core:
In your Windows command prompt.

bro please I'm not pc guru, I'm just trying to learn, can you please explain in details how to do this?
Thanks.
Re: Start Mysql In Xampp by Slyr0x: 2:15pm On Dec 11, 2013
1. Press the windows key on your keyboard
2. Search for "cmd.exe"
3. click "cmd.exe"
4. Then type the command

The cmd interface is something like this

Re: Start Mysql In Xampp by ConquerAll(m): 6:55pm On Dec 11, 2013
It could help a lot if you can post the error message it gives you from the control panel.

I have had similar issue before on my former machine. My Apache server couldn't start because another program was using one of the ports: 80

I had to open up services and manually stop the culprit and end it from starting automatically next time since it's a non essential service anyway.
Re: Start Mysql In Xampp by Djtm(m): 11:13pm On Dec 11, 2013
Just click on Xampp control panel and start mysql from there
Re: Start Mysql In Xampp by olupentane(m): 7:02am On Dec 12, 2013
Thanks everyone, I'm indeed grateful.
for someone that might have the same problem later, I will post what I did to make it work.
Problem : I once installed mysql server on my pc, but I uninstalled it before installing xampp, though I deleted all the previous mysql folder but there seems to remain a leftover file that is stooping the xampp mysql from running.
solution : I search. for windows command line (cmd) from the start menu as directed by slyr0z, right click on it and select run as administrator then type in this code [b]sc delete mysql[/].
that's all.
Thanks.

(1) (Reply)

How I Get Devices To Review & My Advice To Upcoming Bloggers Who Want Such. / Please Can I Use My Normal Savings Account To Receive Adsense Payment / How Do You Make Money Online

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.