473,847 Members | 1,751 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error configuring mysql?

Hi everyone. I hope someone can help me with this problem. I have
installed MySQL CE 5.0, but during the configuration wizard I get an error.

It has frozen up during the final step (MySQL Server Instance
Configuration). I'm installing it on Windows XP, and I used all the
default settings, except that I changed "Detailed Configuration" to
"Standard Configuration". At the "Start Service" item in the checklist,
I got a 1045 error message saying to allow TCP port 3306. I tried
creating a rule for this in Norton, but it didn't seem to work.

So then I turned off Norton completely, restarted, tried the wizard, and
now it puts a red 'x' in the "Start service" checklist and says "The
service could not be stopped. Error: 0".

So I don't know if this is really a Norton/firewall issue or not. I
can't seem to get around this final step.

I hope someone can help me here.

Thanks!
Mar 26 '06 #1
6 5792
"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:44******** **************@ news.astraweb.c om...
Hi everyone. I hope someone can help me with this problem. I have
installed MySQL CE 5.0, but during the configuration wizard I get an
error.

It has frozen up during the final step (MySQL Server Instance
Configuration). I'm installing it on Windows XP, and I used all the
default settings, except that I changed "Detailed Configuration" to
"Standard Configuration". At the "Start Service" item in the checklist, I
got a 1045 error message saying to allow TCP port 3306. I tried creating a
rule for this in Norton, but it didn't seem to work.

So then I turned off Norton completely, restarted, tried the wizard, and
now it puts a red 'x' in the "Start service" checklist and says "The
service could not be stopped. Error: 0".


Is there something else using port 3306?

C:> netstat -ao

Look for "hostname:3 306" in the local address. The rightmost column should
be the process ID.

C:> tasklist /fi "PID eq NNN"

Where NNN is the process ID number you got from netstat.

Another place to look for clues: "C:\Program Files\MySQL\MyS QL Server
5.0\data\<hostn ame>.err" Look for error messages that may explain why the
service won't start.

Also try starting and stopping the service from the command-line:

C:> net start mysql
C:> net stop mysql

See if there are any more clues from error messages.

Regards,
Bill K.
Mar 26 '06 #2
Bill Karwin wrote:

First off, thanks very much for responding.

Is there something else using port 3306?

C:> netstat -ao

Look for "hostname:3 306" in the local address. The rightmost column should
be the process ID.
Yes, it is listed with a PID of 716.

C:> tasklist /fi "PID eq NNN"

Where NNN is the process ID number you got from netstat.
This says: 'tasklist' is not recognizable as an internal or external
command, operable program or batch file.
Another place to look for clues: "C:\Program Files\MySQL\MyS QL Server
5.0\data\<hostn ame>.err" Look for error messages that may explain why the
service won't start.
I searched for '3306' in this file, and it appears in several places,
but they all look something like this:

060325 16:44:17 InnoDB: Started; log sequence number 0 43655
060325 16:44:20 [Note] C:\Program Files\MySQL\MyS QL Server
5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.19-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
060325 16:46:39 [Note] C:\Program Files\MySQL\MyS QL Server
5.0\bin\mysqld-nt: Normal shutdown

Also try starting and stopping the service from the command-line:

C:> net start mysql
I get: The requested service has already been started.
C:> net stop mysql


And: The MySQL service is stopping..
The MySQL service was stopped successfully.
So it seems like it is already running, but I don't know what that
means, since the configuration wizard never completed.
Mar 27 '06 #3
"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:44******** **************@ news.astraweb.c om...
So it seems like it is already running, but I don't know what that means,
since the configuration wizard never completed.


Well, I'm wondering if you already had an instance of MySQL running on the
machine. Perhaps a prior version like 4.0 or 4.1. When you tried to
install and configure MySQL 5.0, it may have conflicted with an existing
service.

Look around under "C:\Program Files\MySQL\" or similar locations (the
default install location has changed a couple of times). Do you have any
other directories that may indicate another version of MySQL was installed?

Regards,
Bill K.
Mar 27 '06 #4
Bill Karwin wrote:
"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:44******** **************@ news.astraweb.c om...
So it seems like it is already running, but I don't know what that means,
since the configuration wizard never completed.


Well, I'm wondering if you already had an instance of MySQL running on the
machine. Perhaps a prior version like 4.0 or 4.1. When you tried to
install and configure MySQL 5.0, it may have conflicted with an existing
service.

Look around under "C:\Program Files\MySQL\" or similar locations (the
default install location has changed a couple of times). Do you have any
other directories that may indicate another version of MySQL was installed?

Regards,
Bill K.


No, I'm pretty sure this isn't possible. I've never used MySQL before,
and even if it somehow came preinstalled, I've since reformatted my HD a
few times, so it wouldn't still be there. When I get a chance, I'll take
a look though, but I don't know how I would have another version because
this is literally the first time I've gone anywhere near MySQL.

The only thing I can think of that is even related to databases is that
after installing a couple of Visual Studio Express Editions, I think SQL
Server 2005 was installed, but I don't know if that would cause a conflict.
Mar 27 '06 #5
"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:44******** *************@n ews.astraweb.co m...
. . . At the "Start Service" item in the checklist, I got a 1045 error
message saying to allow TCP port 3306.
This is an Access Denied error. Have you read the page in the docs about
this? There are many potential causes for this error.
http://dev.mysql.com/doc/refman/5.0/...ss-denied.html

Also check the Windows Event Log.
Start Menu -> Administrative Tools -> Event Viewer
Look in the 'Application' group, sort by the 'Source' column, and look for
MySQL.
Do you find any error reports of a crashing MySQL service?
This suggestion is based on the following bug log:
http://bugs.mysql.com/bug.php?id=12234
"Signal 11 Service Startup Abort for New Installation"

Which release of MySQL 5.0 are you using? The current release is 5.0.19. I
remember having trouble getting the service started with one of the earlier
releases, when it was still in an Alpha state. At that time, I gave up and
used 4.1. A later release of 5.0 worked better, but I couldn't tell you if
something was fixed in MySQL or if my machine configuration changed.
The only thing I can think of that is even related to databases is that
after installing a couple of Visual Studio Express Editions, I think SQL
Server 2005 was installed, but I don't know if that would cause a
conflict.


Me neither. I haven't heard of any instance of SQL Server causing a port
conflict.

Regards,
Bill K.
Mar 27 '06 #6
Bill Karwin wrote:
This is an Access Denied error. Have you read the page in the docs about
this? There are many potential causes for this error.
http://dev.mysql.com/doc/refman/5.0/...ss-denied.html
I'm afraid that stuff is way over my head.
Also check the Windows Event Log.
Start Menu -> Administrative Tools -> Event Viewer
Look in the 'Application' group, sort by the 'Source' column, and look for
MySQL.
Do you find any error reports of a crashing MySQL service?
This suggestion is based on the following bug log:
http://bugs.mysql.com/bug.php?id=12234
"Signal 11 Service Startup Abort for New Installation"
No errors there. All the MySQL entries say "Informatio n" in that column.
Which release of MySQL 5.0 are you using? The current release is 5.0.19.


Yes, that's the one I just downloaded. I guess I'm kind of stuck now. I
don't think I know enough to manually fix this problem. I don't know how
to find out more about the port being used (if that's the case).
Mar 27 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1803
by: Adam Smith | last post by:
Hello, Installing PHP 4.3.6 on a i386 platform w/ FreeBSD 4.9 O/S installed and running apache_1.3.31 make with ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --enable-versioning ===> ......... Configuring SAPI modules
0
1145
by: Grant Cooper | last post by:
I was hoping someone could tell me a way to increase the productivity of a database server. It has nothing else installed other than the newest production version of mysql and the default packages from FreeBSD. Is there a toaster than can bring me up to speed. Thanks. --
5
7832
by: azgoddess1 | last post by:
During the installation I get these error messages: ***** SQL1390C The environment variable DB2Instance is not defined or is invalid An error ocured while loading the command "C:\Program Files\IBM\SQLLIB\bin\db2.exe CREATE TOOLS CATALOG SYSTOOLS USE EXISITING DATABASE DWCTRLDB FORCE" to initialize and\or migrate the DB2 tools catalog database. The return value is "5104".
4
7307
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always get the same error message: "An error occurred while creating one or more registry entries. Please see C:\WINDOWS\sqlstp.log for details. The problem could be caused by a low registry quota condition" I have tried to clean the registry and i...
2
2779
by: Ivan | last post by:
Hi, I experienced a problem while upgrading from DB2 UDB LUW Workgroup edition 7.2 FixPak 10a to Workgroup Server edition 8.2 FixPak 12. The install wizard said the upgrade was successful but none of the MIGRATE commands worked due to authorization problems. The install log showed the following message for each instance - 1: ERROR:An error occurred while creating the instance "DB2". The return code is "-1959". Create the instance...
4
2205
by: dlitty | last post by:
I'm new to MySql and have just installed it on my local machine. I've installed it on the "I" drive and everything went ok. Then I downloaded the MySql connector 3.51.12. It's setup file is on "I" also. When I run the setup it doesn't give me a path for installation and I can't specify one. When trying to configure it using ODBC data source administrator, I get an error saying access is denied for user ODBC (the default). Do I need to...
11
2087
by: r035198x | last post by:
I have configured my PHP (5) to work on vista business fine. I've also successfully installed MySQL server 5.0 fine. In my php.ini I have enabled the line extension=php_mysql.dll I have php_mysql.dll, libmysql.dll and libmysqli.dll in my PHP directory which I have added to my PATH variable. Still when I try to connect to MySQL from my PHP scripts, I get
0
3964
by: Toralf Kirsten | last post by:
Hi all, we have installed DB2 V9.5 Trial on a Fedora 6 Linux box (32bit). Since the box is included in a NIS we have manually created db2 users db2inst, dasusr and db2fenc on this box (not in the NIS). The installation process is carried out by using the root user (as root, not using sudo or something else). We selected the custom installation and de-selected the SA MP option but enabled the option to build the TOOLSDB (catalog db as I...
1
2419
by: chanshaw | last post by:
Alright so I got php running and installed i have mysql running and installed the thing im having a hard time with is having the php to call information from the mysql database. Im on Windows Vista Ultimate, I'm using iis7 here is the code of the php. <?php $Username = "Webuser"; $Password = "password"; $Database = "sample"; $Hostname = "localhost"; $MySQLConnection = mysql_connect($Hostname, $Username, $Password) ...
0
9881
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9727
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10981
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10706
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9480
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7879
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7052
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5718
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4115
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.