I made a manually website in php. After upload on ipage server when I try to access admin page which is inside in admin folder it show me the error Can't connect to local MySQL server through socket /var/run/mysqld/mysqld.sock
(2). Please tell me how do I fix it.
Asked
Active
Viewed 209 times
0

Prasad Khode
- 6,602
- 11
- 44
- 59

Ambreen Butt
- 1
- 1
-
Please provide code for use to work with. – Tony Hensler Jan 16 '17 at 11:53
-
whihc type of code mysql code or any other – Ambreen Butt Jan 16 '17 at 12:02
-
this is my domain artical-center.com – Ambreen Butt Jan 16 '17 at 12:03
-
when i check this on XAMPP its work perfectly but after upload it on ipage server database title show but picture missing and when i want to access admin.php it show the message Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) – Ambreen Butt Jan 16 '17 at 12:05
-
please check this artical-center.com/admin – Ambreen Butt Jan 16 '17 at 12:05
-
1Possible duplicate of [error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'](http://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq) – Tony Hensler Jan 16 '17 at 12:07
-
no there show only localhost error and not much detail there i want to ask specific server on ipage is any extra config file need to be uploaded during website upload on live server – Ambreen Butt Jan 16 '17 at 12:21
-
iPage have a live chat support maybe your question would be better asked there. As all you have provided in your question here is It works here but doesn't work there. – Tony Hensler Jan 16 '17 at 12:25
-
thanks i ask it there. – Ambreen Butt Jan 16 '17 at 12:32