We Will Go Above And Beyond To Answer Your Queries, Because We Care!

Welcome To The Fastest Growing Digital Marketing Forum On The Planet… soon on Mars 😅🚀

How to Publish PHP ...
 
Notifications
Clear all

How to Publish PHP Website (Install CodeCanyon Scripts) _Step 4 error

Horatio198
(@horatio198)
New Member

Hi, 

I am stuck on step 4: Create a MySQL Database, of how to publish php website with CodeCanyon scripts. I get the following error message in Putty:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

How do I solve this?

Thanks in advance

Error Message
Quote
Topic starter Posted : 05/07/2021 2:36 pm
Gok26
(@gok26)
Eminent Member

You need to configure your hosting server in the initial as LAMP (Linux, Apache, MySQL, PHP) to create database for your application, this might eliminate your error if you didn't configure your hosting server with LAMP specs..

ReplyQuote
Posted : 06/07/2021 5:46 pm
JayDollar
(@jaydollar)
Reputable Member
Posted by: @horatio198

Hi, 

I am stuck on step 4: Create a MySQL Database, of how to publish php website with CodeCanyon scripts. I get the following error message in Putty:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

How do I solve this?

Thanks in advance

Error Message

Configure your server to MySQL server to be able to connect to local MySQL.

ReplyQuote
Posted : 25/07/2021 2:09 pm
Share: