Socket error

i uploaded my local machines pages to client server and i am getting this error from MySQL
Can’t connect to local MySQL server through socket

what should i do to fix it? why is it coming

To start with what are the pages you uploaded (html, php, perl)?

Generally speaking, this error means the address you’re pointing at for your mySQL server isnt correct.

If you’re pointing at localhost, make sure the MySQL server is running.