Jump to content

[SOLVED] I am having problems getting MySQL to start.


Recommended Posts

What does the error log show?

 

Thanks for the reply. First I would to say that I have an older version of MySQL 3.23

which is old but I have no problem installing it. It works. Also, I have 4.0 and it worked

as well but I no longer have access to it. I am having a hard time getting MySQL

5.1.22-rc-community started.

 

Note: I have been at this for about 3 days now. I have installed and uninstall many

times already.

 

I am running Windows XP home edition.

Trying to install as a Windows service.

 

Here is the error log:


C:\Documents and Settings\HP_Owner>net start mysql
The MySQL service is starting.
The MySQL service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.

C:\Documents and Settings\HP_Owner>mysqld --console
071226  2:05:44  InnoDB: Started; log sequence number 0 46409
071226  2:05:44 [ERROR] Can't open and lock privilege tables: Table 'mysql.serve
rs' doesn't exist
071226  2:05:44 [Note] Event Scheduler: Loaded 0 events
071226  2:05:44 [Note] mysqld: ready for connections.
Version: '5.1.22-rc-community'  socket: ''  port: 3306  MySQL Community Server (
GPL)

 

That doesn't look like the error log file, that looks like a screenshot of the running process.  And what's wrong with innodb?

 

Ok that was a screen shot of the errors that I was having. I have installed Wamp and uninstalled

MySQL from c:\Program Files

 

Here is the MySQL error log under Wamp Server.

 

Note: I haven't tried to edit MySQL. The configuration is set as default.

 

InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
071226 12:20:41  InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
071226 12:20:41  InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 10 MB
InnoDB: Database physically writes the file full: wait...
071226 12:20:42  InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
071226 12:20:43  InnoDB: Started; log sequence number 0 0
071226 12:20:43 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 12:32:29 [Note] wampmysqld: Normal shutdown

071226 12:32:29  InnoDB: Starting shutdown...
071226 12:32:32  InnoDB: Shutdown completed; log sequence number 0 43655
071226 12:32:32 [Note] wampmysqld: Shutdown complete

071226 12:32:33 [ERROR] Default storage engine (InnoDB) is not available
071226 12:32:33 [ERROR] Aborting

071226 12:32:33 [Note] wampmysqld: Shutdown complete

071226 12:34:14  InnoDB: Started; log sequence number 0 43655
071226 12:34:14 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 12:58:22 [Note] wampmysqld: Normal shutdown

071226 12:58:22  InnoDB: Starting shutdown...
071226 12:58:25  InnoDB: Shutdown completed; log sequence number 0 43655
071226 12:58:25 [Note] wampmysqld: Shutdown complete

071226 12:58:26  InnoDB: Started; log sequence number 0 43655
071226 12:58:35 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 12:58:56 [Note] wampmysqld: Normal shutdown

071226 12:58:56  InnoDB: Starting shutdown...
071226 12:58:59  InnoDB: Shutdown completed; log sequence number 0 43655
071226 12:58:59 [Note] wampmysqld: Shutdown complete

071226 12:59:00  InnoDB: Started; log sequence number 0 43655
071226 12:59:00 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 12:59:22 [Note] wampmysqld: Normal shutdown

071226 12:59:22  InnoDB: Starting shutdown...
071226 12:59:25  InnoDB: Shutdown completed; log sequence number 0 43655
071226 12:59:25 [Note] wampmysqld: Shutdown complete

071226 12:59:27  InnoDB: Started; log sequence number 0 43655
071226 12:59:27 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 13:08:24 [Note] wampmysqld: Normal shutdown

071226 13:08:24  InnoDB: Starting shutdown...
071226 13:08:29  InnoDB: Shutdown completed; log sequence number 0 43655
071226 13:08:29 [Note] wampmysqld: Shutdown complete

071226 13:08:31  InnoDB: Started; log sequence number 0 43655
071226 13:08:31 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 13:10:33 [Note] wampmysqld: Normal shutdown

071226 13:10:33  InnoDB: Starting shutdown...
071226 13:10:36  InnoDB: Shutdown completed; log sequence number 0 43655
071226 13:10:36 [Note] wampmysqld: Shutdown complete

071226 13:10:37  InnoDB: Started; log sequence number 0 43655
071226 13:10:37 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 13:28:11 [Note] wampmysqld: Normal shutdown

071226 13:28:11  InnoDB: Starting shutdown...
071226 13:28:13  InnoDB: Shutdown completed; log sequence number 0 43655
071226 13:28:13 [Note] wampmysqld: Shutdown complete

071226 13:28:13  InnoDB: Started; log sequence number 0 43655
071226 13:28:13 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 13:28:39 [Note] wampmysqld: Normal shutdown

071226 13:28:39  InnoDB: Starting shutdown...
071226 13:28:42  InnoDB: Shutdown completed; log sequence number 0 43655
071226 13:28:42 [Note] wampmysqld: Shutdown complete

071226 13:28:43  InnoDB: Started; log sequence number 0 43655
071226 13:28:43 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)
071226 13:29:16 [Note] wampmysqld: Normal shutdown

071226 13:29:16  InnoDB: Starting shutdown...
071226 13:29:20  InnoDB: Shutdown completed; log sequence number 0 43655
071226 13:29:20 [Note] wampmysqld: Shutdown complete

071226 13:29:20  InnoDB: Started; log sequence number 0 43655
071226 13:29:20 [Note] wampmysqld: ready for connections.
Version: '5.0.45-community-nt'  socket: ''  port: 3306  MySQL Community Edition (GPL)

Why was innodb not available?

 

I have no idea! Sorry, but I really need some help getting this thing installed. This is my fifth day trying to get this thing working. I stated earlier

that I just installed Wamp and I haven't done anything to it. Apache and PHP is working

fine with out having any configuration.

 

Here is the path of all the InnoDB files that were created upon installation.

C:\wamp\bin\mysql\mysql5.0.45\data

Why was innodb not available?

 

I tried this from the my.ini file. but It is commented out. Set to default.

#skip-innodb.

# Use this option if you have a MySQL server with InnoDB support enabled
# but you do not plan to use it. This will save memory and disk space
# and speed up some things.
skip-innodb

071226 12:32:33 [ERROR] Default storage engine (InnoDB) is not available
071226 12:32:33 [ERROR] Aborting

And what you posted above is the error log? Did you comment out skip-innodb?

 

I am starting from the beginning. This would include reinstalling Windows XP.

Re-formating the partition. I am now about to install Wamp.

 

Note: I have already re-formatted the partition.

 

Any ideas about how to get MySQL up and running?

I be damn!!! MySQL is up and running. I figured that it had something to do

with the previous MySQL installations. I thought that I uninstalled all of them.

From the registry, Program Files, and Control Panel. Where else could they have

been stored?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.