How do i solve this error found in Apache Error log

[warn] (OS 10038)An operation was attempted on something that is not a socket.  : getsockname failed.
This error is showing in the Apache Error log.
I need a definition of this error, and what can I do to stop it.
This error is showing in the software am using as "Can not connect to localhost as root MySQL Error: Can't connect to MySQL server on 'localhost' (10038)" Though the software is running normally
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mysql server might not be running...

try doing

/etc/init.d/mysqld restart or try to find the mysqld with particular mysql installation directory and restart that


jmhabis2Author Commented:
We are running on windows machine.
try to restart  the mysql server by going into the control panel > Services > mysql instance...

and click on restart or start
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

jmhabis2Author Commented:
we did that so many times... same error is happening randomly
jmhabis2Author Commented:
The Back-End:
Windows Server 2003 (x64 Edition).
My SQL Version: 5.0.19
Apache Version: 2.2.4
The Total Number of Users is: 97
I had the same problem. and this is how I resolved it. remove mysql from your computer.
MySQL reads it's configuration directives from a text file called my.ini. This file
should be placed in the main Windows folder which will be /WINNT on Windows NT/2000 and
/WINDOWS on Windows 98/XP/2003.Now let's see what should your my.ini file look like?
Create a new my.ini file in your Windows installation folder and copy/paste following
text in it.



set-variable      = max_connections=64
set-variable      = read_buffer_size=1M
set-variable      = key_buffer=8M
set-variable      = max_allowed_packet=1M
set-variable      = table_cache=64
set-variable      = sort_buffer=512K
set-variable      = net_buffer_length=8K
set-variable      = myisam_sort_buffer_size=4M
server-id      = 1

basedir = D:/mysql-4.0.14b-win-noinstall/
datadir = D:/mysql-4.0.14b-win-noinstall/data/


innodb_data_file_path = ibdata1:10M:autoextend
set-variable = innodb_buffer_pool_size=32M
set-variable = innodb_additional_mem_pool_size=4M

set-variable = innodb_log_file_size=8M
set-variable = innodb_log_buffer_size=8M


set-variable      = max_allowed_packet=8M


set-variable      = key_buffer=10M
set-variable      = sort_buffer=10M
set-variable      = read_buffer=2M
set-variable      = write_buffer=2M

set-variable      = key_buffer=10M
set-variable      = sort_buffer=10M
set-variable      = read_buffer=2M
set-variable      = write_buffer=2M


The my.ini file should at least contain the path to the MySQL installation and data files
folder. Since I am assuming you installed MySQL in D:\mysql-4.0.14b-win-noinstall folder,
this folder's path has been put in my.ini file.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.