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
jmhabis2Asked:
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.

KalpanCommented:
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

Thanks

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


and click on restart or start
0
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
0
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
0
KalpanCommented:
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.

[client]
port=3306

[mysqld]
port=3306
enable-named-pipe
socket=MySQL

skip-locking
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/

skip-bdb

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

innodb_flush_log_at_trx_commit=1

[mysqldump]
quick
set-variable      = max_allowed_packet=8M

[mysql]
no-auto-rehash

[isamchk]
set-variable      = key_buffer=10M
set-variable      = sort_buffer=10M
set-variable      = read_buffer=2M
set-variable      = write_buffer=2M

[myisamchk]
set-variable      = key_buffer=10M
set-variable      = sort_buffer=10M
set-variable      = read_buffer=2M
set-variable      = write_buffer=2M

[mysqlhotcopy]
interactive-timeout

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.
0

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
Software

From novice to tech pro — start learning today.