473,765 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cant't connect

Hi, I have a problem to connect to my local server

After I have done:

c:\mysql\bin>my sqld --standalone

I try:

C:\mysql\bin>my sql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

Whats the problem, and where can I get help.

mvh
Curt
Jul 19 '05 #1
13 7738
Curt Larsson wrote:
Hi, I have a problem to connect to my local server

After I have done:

c:\mysql\bin>my sqld --standalone


Is the server running? Do you see it in the process list?
Jul 19 '05 #2
No.
Maybe something can be wrong in my.cnf file.

# Example mysql config file.
# Copy this file to c:\my.cnf to set global options
#
# One can use all long options that the program supports.
# Run the program with --help to get a list of available options

# This will be passed to all mysql clients
[client]
#password=my_pa ssword
port=3306
#socket=MySQL

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
set-variable = key_buffer=16K
set-variable = max_allowed_pac ket=1M
set-variable = thread_stack=64 K
set-variable = table_cache=4
set-variable = sort_buffer=64K
set-variable = net_buffer_leng th=2K
server-id = 1

# Uncomment the following if you want to log updates
#log-bin

# Uncomment the following rows if you move the MySQL distribution to another
# location
#basedir = d:/mysql/
#datadir = d:/mysql/data/
# Uncomment the following if you are NOT using BDB tables
#skip-bdb

# Uncomment the following if you are using Innobase tables
#innodb_data_fi le_path = ibdata1:100M
#innodb_data_ho me_dir = c:\ibdata
#innodb_log_gro up_home_dir = c:\iblogs
#innodb_log_arc h_dir = c:\iblogs
#set-variable = innodb_mirrored _log_groups=1
#set-variable = innodb_log_file s_in_group=3
#set-variable = innodb_log_file _size=5M
#set-variable = innodb_log_buff er_size=8M
#innodb_flush_l og_at_trx_commi t=1
#innodb_log_arc hive=0
#set-variable = innodb_buffer_p ool_size=16M
#set-variable = innodb_addition al_mem_pool_siz e=2M
#set-variable = innodb_file_io_ threads=4
#set-variable = innodb_lock_wai t_timeout=50

[mysqldump]
quick
set-variable = max_allowed_pac ket=16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
set-variable = key_buffer=8M
set-variable = sort_buffer=8M

[myisamchk]
set-variable = key_buffer=8M
set-variable = sort_buffer=8M

[mysqlhotcopy]
interactive-timeout
"Aggro" <sp**********@y ahoo.com> skrev i meddelandet
news:tP******** ****@read3.inet .fi...
Curt Larsson wrote:
Hi, I have a problem to connect to my local server

After I have done:

c:\mysql\bin>my sqld --standalone


Is the server running? Do you see it in the process list?

Jul 19 '05 #3
Curt Larsson wrote:
No.
Maybe something can be wrong in my.cnf file.


Have you changed it or is it original?

What exactly happens after you have done:

c:\mysql\bin>my sqld --standalone

Does it print any messages? Is there anything at the error.log?
Jul 19 '05 #4
Aggro wrote:
Have you changed it or is it original? It's original.
What exactly happens after you have done:

c:\mysql\bin>my sqld --standalone

Does it print any messages? Is there anything at the error.log?

No message is shown.
This is in my log:

040404 11:00:26 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43892
InnoDB: Doing recovery: scanned up to log sequence number 0 43892
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 000000000000000 000

A lot of 0's

InnoDB: End of page dump
040404 11:00:26 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form
checksum 1371122432
InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0
InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 00000000000

More of 0's

InnoDB: End of page dump
040404 11:00:26 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form
checksum 1371122432
InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0
InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0
040404 11:00:26 mysqld: Got signal 11. Aborting!

040404 11:00:26 Aborting

040404 11:00:26 InnoDB: Warning: shutting down a not properly started
InnoDB: or created database!
040404 11:00:26 mysqld: Shutdown Complete

thanks
Curt
Jul 19 '05 #5
Aggro wrote:
Have you changed it or is it original? It's original.
What exactly happens after you have done:

c:\mysql\bin>my sqld --standalone

Does it print any messages? Is there anything at the error.log?

No message is shown.
This is in my log:

040404 11:00:26 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43892
InnoDB: Doing recovery: scanned up to log sequence number 0 43892
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 000000000000000 000

A lot of 0's

InnoDB: End of page dump
040404 11:00:26 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form
checksum 1371122432
InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0
InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 00000000000

More of 0's

InnoDB: End of page dump
040404 11:00:26 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form
checksum 1371122432
InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0
InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0
040404 11:00:26 mysqld: Got signal 11. Aborting!

040404 11:00:26 Aborting

040404 11:00:26 InnoDB: Warning: shutting down a not properly started
InnoDB: or created database!
040404 11:00:26 mysqld: Shutdown Complete

thanks
Curt
Jul 19 '05 #6
Curt Larsson wrote:
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 000000000000000 000


I don't know what is going on, but unless there is anything important in
your database, I would suggest you to uninstall it, and try to reinstall it.

If this doesn't help, you could try to see if there is anything wrong
with your hardware. i.e. run hard drive tests and memory test, to make
sure that they are okay.

If hardware seems to be okay, and reinstall doesn't help, you could also
try to install older version of MySQL to see if that works any better.

If that also fails, see if there is anything you are doing incorrectly
in the installation process, by following installation manual.

All this is just wild guesses, I really don't have a clue what could be
causing this.
Jul 19 '05 #7
Curt Larsson wrote:
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 000000000000000 000


I don't know what is going on, but unless there is anything important in
your database, I would suggest you to uninstall it, and try to reinstall it.

If this doesn't help, you could try to see if there is anything wrong
with your hardware. i.e. run hard drive tests and memory test, to make
sure that they are okay.

If hardware seems to be okay, and reinstall doesn't help, you could also
try to install older version of MySQL to see if that works any better.

If that also fails, see if there is anything you are doing incorrectly
in the installation process, by following installation manual.

All this is just wild guesses, I really don't have a clue what could be
causing this.
Jul 19 '05 #8
Aggro wrote:
Have you changed it or is it original? It's original.
What exactly happens after you have done:

c:\mysql\bin>my sqld --standalone

Does it print any messages? Is there anything at the error.log?

No message is shown.
This is in my log:

040404 11:00:26 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43892
InnoDB: Doing recovery: scanned up to log sequence number 0 43892
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 000000000000000 000

A lot of 0's

InnoDB: End of page dump
040404 11:00:26 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form
checksum 1371122432
InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0
InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 00000000000

More of 0's

InnoDB: End of page dump
040404 11:00:26 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form
checksum 1371122432
InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0
InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0
040404 11:00:26 mysqld: Got signal 11. Aborting!

040404 11:00:26 Aborting

040404 11:00:26 InnoDB: Warning: shutting down a not properly started
InnoDB: or created database!
040404 11:00:26 mysqld: Shutdown Complete

thanks
Curt
Jul 19 '05 #9
Curt Larsson wrote:
InnoDB: Page directory corruption: supremum not pointed to
040404 11:00:26 InnoDB: Page dump in ascii and hex (16384 bytes):
len 16384; hex 000000000000000 000


I don't know what is going on, but unless there is anything important in
your database, I would suggest you to uninstall it, and try to reinstall it.

If this doesn't help, you could try to see if there is anything wrong
with your hardware. i.e. run hard drive tests and memory test, to make
sure that they are okay.

If hardware seems to be okay, and reinstall doesn't help, you could also
try to install older version of MySQL to see if that works any better.

If that also fails, see if there is anything you are doing incorrectly
in the installation process, by following installation manual.

All this is just wild guesses, I really don't have a clue what could be
causing this.
Jul 19 '05 #10

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

Similar topics

2
2323
by: Tiernan | last post by:
Hey everybody. I'm verry new to PHP and MYSQL and have been working on a form that when it is submitted stores the information into a mysql database. The main problem is that i'm trying to finish up my script for almost a week now and I still cant get it right. here is the code <?php include ("ES_includes/appconst.inc.php") ;
1
3377
by: Anthony | last post by:
Hi all, I am having real problems allowing a client to connect to sql 2000 through enterprise manager.. I have tried all sorts but to no avail: From our local network all works fine.. Using the adsl line.. Even if i try and connect to the external IP and use login details..(As opposed to connecting local and using windows accounts) I can ping and telnet the server and port.
4
2472
by: gregsands | last post by:
Hi I have read all (ok most) of the posts relating to "Call to undefined function mysql_connect()", read the manual on PHP.net and done eveything thats ive been asked to do but cant get PHP to talk to MySQL, PHP is working fine but I dont get any mysql info when running <? phpinfo() ?> and get the "Call to undefined function mysql_connect()" when trying to connect to mysql through php in browser, please help. 1. I have added C:\php;...
0
2392
by: Aaron | last post by:
Hi Guys, I have a dbase installed on a network where the clints have linked tables to the database on the server. I found that i had to make some minor changes to the tables on the server where the client databases look to for their data after I made the changes I tried to open one of the clients databases and found that I was getting an error 3051 open exclusive where when the client tries to connect to the tables on the server it...
6
1984
by: tony010409020622 | last post by:
My WebForm1.aspx works fine when I connect via localhost, AND when I connect using the IP address. HOWEVER, NO ONE ELSE can connect using my IP address. Capitalization is correct, Firewall is off, and still everyone just times out. Help is greatly appreciated, 'specially since I've been working on this site for over 24 hours straight :-| Thanks
0
1271
by: Tillmann Neben | last post by:
As the topic already says, i just cant get it working. I am using "ftp-mode" to get the files onto the server instead of using frontpage extension. When I try to debug, VS tells me, that the debugger cant connect to the remote computer (server) - and, that a firewall might be the reason. I have all firewalls disabled but it is still not working. I cant find so much information about that issue regarding VS 2005. Is remote debugging...
2
3591
by: yodboy | last post by:
hi there Im going nuts - any help appreciated trying to connect to access db over a network so far - I can connect to the db using the same odbc with excel I can connect to a copy of the db using a similar odbc on a local drive with php
0
1295
by: =?Utf-8?B?Q2hpV2hpdGVTb3g=?= | last post by:
Hi, i got machine A that has sql2005, vs2005 project. project runs okay there. But when i copied that whole project folder to machine B, running sql2005, VS2005, edited the web.config file to point to SQL2k5 machine A, and then run it at VS2005, it cant connect to the DB at machine A. It says, unable to connect to DB, server doesnt allow remote connections. But when i try to connect to machine A using SQL SMS, im able to browse to the...
3
1345
by: =?Utf-8?B?Y29yeQ==?= | last post by:
i cant get the playstation 3 to connect to call of duty 4 online through the router but i am able to connect to the game online through the modem. I am able to still get on the internet through the router on my playstation just cannot connect to the game online.
6
1963
flexsingh
by: flexsingh | last post by:
Hello there, I have constructed a option of choosing a court only available when member no = "0". This works fine and is in the first code: - <html> <head> </head> <body background="main background1.jpg" link="blue" vlink="blue"> <table width="350" border="1" align="center" cellpadding="0" cellspacing="1"> <tr>
0
9568
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
9399
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
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9957
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
9835
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8832
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...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
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.