Search
 
SCRIPT & CODE EXAMPLE
 

SQL

warning: mysqli::__construct(): (hy000/2002):

If it's a PHP issue, you could simply alter the configuration file php.ini wherever it's located and update the settings for PORT/SOCKET-PATH etc to make it connect to the server.

In my case, I opened the file php.ini and did

mysql.default_socket = /var/run/mysqld/mysqld.sock
mysqli.default_socket = /var/run/mysqld/mysqld.sock
Comment

PREVIOUS NEXT
Code Example
Sql :: calculate date and convert to yearsmysql 
Sql :: sql values to array of objects 
Sql :: insert into table from another table 
Sql :: consecutive numbers sql 
Sql :: t sql dynamic top n query 
Sql :: oracle sql number to varchar2 
Sql :: find log file postgresql linux 
Sql :: sql top 3 for each group 
Sql :: sqlite alter table add multiple column 
Sql :: sql stored procedure with table parameter 
Sql :: SQL print multiple variable 
Sql :: alter column to not null with default value sql server 
Sql :: temp tables in sql server 
Sql :: increment id in mysql 
Sql :: sql create table 
Sql :: right join sql 
Sql :: sql get month and year from date 
Sql :: add primary key to database sql 
Sql :: postgresql create table many-to-many 
Sql :: finish transaction sql 
Sql :: sql select whole row max column 
Sql :: split string and get first and last element in sql server 
Sql :: add column postgresql 
Sql :: insert to postgres table 
Sql :: how to update values in sql 
Sql :: postgres full text search example 
Sql :: sql select on string 
Sql :: sql table alias join 
Sql :: generate series sybase 
Sql :: select where mysql 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =