Error 1067 The Process Terminated Unexpectedly Mysql 5.0
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Error 1067: The process terminated unexpectedly” when trying to start MySQL up vote 10 down vote favorite 6 I'm using Windows 7 and running XAMPP MySQL SVC service. I'm seeing the following error: Windows could not start the Mysql service on Local Computer. Error 1067: The process terminated unexpectedly. What does this mean, and how can I fix it? php mysql windows-7 xampp share|improve this question edited Sep 20 '12 at 15:56 Pops♦ 14.5k21100135 asked Jan 21 '11 at 12:34 Egglabs 1,09272341 Also true for WCF windows services that produce the same error. –Noich Mar 20 '13 at 13:42 add a comment| 10 Answers 10 active oldest votes up vote 8 down vote accepted Examine error log (start eventvwr.msc). MySQL typically writes something to the Application log. In very rare cases it does not write anything (I'm only aware of one particular bug http://bugs.mysql.com/bug.php?id=56821, where services did not work at all). There is also error log file, normally named .err in the data directory that has the same info as written to windows error log. share|improve this answer answered Feb 7 '11 at 19:39 Vladislav Vaintroub 3,1981119 add a comment| up vote 14 down vote You need to: stop the MySQL service: Open mysql path\data Remove both ib_logfile0 and ib_logfile1. Restart the service share|improve this answer edited Mar 13 '14 at 20:11 Lucas Zamboulis 2,24151725 answered Mar 13 '14 at 19:47 mohsen.rmz 14112 This really isn't a good solution as it will delete most (if not all) tables from your database. –tjhorner May 4 '14 at 20:55 This worked for me and my database tables didn't got got deleted. –Hyder B. Aug 22 '14 at 10:23 This worked for me, and no data loss. The files are recreated on restart. on Windows the delete files is at Progr
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a http://stackoverflow.com/questions/4758844/error-1067-the-process-terminated-unexpectedly-when-trying-to-start-mysql question Anybody can answer The best answers are voted up and rise to the top “Error 1067: The process terminated unexpectedly” when trying to install MySQL on Win7 x64 [closed] up vote 12 down vote favorite 3 I've run into a brick wall trying to install MySQL v5.5 on my machine. My PC is Windows 7 x64, Enterprise edition. MySQL installs fine, but http://serverfault.com/questions/214435/error-1067-the-process-terminated-unexpectedly-when-trying-to-install-mysql-o when I run the "MySQL Instance Configuration Wizard", it pauses forever on the step "Start Service" (I can let it run for 30 minutes with no response). If I go into services, I see that the "MySQL" service hasn't started, and if I try to start it, it says "Windows could not start MySQL Service on Local Computer. Error 1067: The process terminated unexpectedly." I've tried the following: Turning off firewall. Uninstalling all antivirus software. Installing / reinstalling 32-bit version of MySQL. Installing / reinstalling 64-bit version of MySQL. Uninstalling, deleting the contents of "C:\program files\MySQL" and "C:\program files (x86)\MySQL", reinstalling. Checking to see that there is no rogue services named MySQL???? (from a previous install). Checking that port 3306 is not used by an alternate program. Changing the default port that MySQL uses. Checking for "my.ini" and "my.ini.cnf" in "C:\windows" (nothing there but that can cause a problem). Running both MySQL installer, and configuration wizard, in "Adminstrator mode". Turning off UAC. Installing with defaults, not changing anything. Rebooting my machine (about 6 reboots so far). Opening up port 3306 in the firewall (both TCP and UDP, in
a service, like so C:\mysql5_x64\bin\mysqld-nt.exe --install-manual You might try to launch https://cyleft.wordpress.com/2008/07/20/fixing-mysql-service-could-not-start-1067-errors/ the service from the Control Panel -> Administrative Tools -> Services Window. But if you're getting the error message: ‘Could not start the MySQL service on Local Computer Error 1067: The process terminated unexpectedly.' Running from the command line: C:\mysql5_x64\bin\mysqld-nt.exe --console Should work fine. So what's the problem? Well, you may be missing your error 1067 my.ini file. Create the file (you can copy one of the defaults that come with it such as my-small.ini), and make the following changes by adding the basedir & datadir lines, so it looks something like this: # The MySQL server [mysqld] ################################### basedir=C:/mysql5_x64 datadir=C:\mysql5_x64/data ################################### port = 3306 socket = /tmp/mysql.sock If error 1067 the you try to launch the service again, you should feel alot happier. Some of the readers have put in some helpful comments, which I'll include here Take a look at your error log by looking in: “C:\Documents and Settings\All Users.WINDOWS\Application Data\MySQL\" Then click on the "MySQL Server X.X\" folder and then "data\" Find the file [MY-DOMAIN-NAME].err and open it using notepad Another possible cause of the 1067 error might be faulty my.ini settings. … So the general tip from me would be: Try to think of any reconfigurations you’ve done recently. That might be what’s causing this. --ChromaWoods We were getting a 1067 error because (we think) we’d been unable to successfully complete a reinstall after mixing up the original root password [on the mysql server]. Our solution in the end was to _completely_ uninstall MySQL and reinstall. The tricky part is that the uninstall requires three steps: 1. Uninstall via Add/Remove Programs from the Control Panel. 2. Delete the Base d