Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Unable to start MySQL server

Posted on 2006-11-07
7
1,612 Views
Last Modified: 2010-04-28
Experts,

I have installed MySQL version 4, released on mysql.com and also GUI tools 5, again from mysql.com

I am using php to query website.

I have set MySQL to use old passwords using mysql admin, however when I stop the service and then try to start it up again it hangs....

When I attempt to start within Services the error reports;

Error 1067, the process terminate unexpectedly

??

0
Comment
Question by:nickmarshall
7 Comments
 
LVL 1

Author Comment

by:nickmarshall
ID: 17888905
Message from MySQL admin.  I have commented out the OLD_Passwords part within my.ini however the same problem is apparent.

Trying to start the server ...

Could not re-connect to the MySQL Server.
Server could not be started.

Can't init databases


0
 
LVL 30

Accepted Solution

by:
todd_farmer earned 84 total points
ID: 17891083
Is the MySQL server running?  If you are on Windows, check the Process Manager.  If Linux, run ps aux | grep mysqld

If the server is not running, start it.  If it cannot start, please locate the error log file (hostname.err in the data directory) and post the contents.
0
 
LVL 14

Assisted Solution

by:ppfoong
ppfoong earned 83 total points
ID: 17895100

The clue is this:

"Can't init databases"

If it is a new install, delete all the database files inside the MYSQL\data folder, and let MySQL recreate them.

Before this, you might want to check for any error message in the file yourservername.err, inside the MYSQL\data folder.

0
 
LVL 4

Assisted Solution

by:Sheeri
Sheeri earned 83 total points
ID: 17895369
try to run mysql_install_db in your binary folder -- it should be the same folder mysql and mysqld are in.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question