change localhost to 127.0.0.1 in /etc/phpmyadmin/config.inc.php
$cfg['Servers'][$i]['host'] = '127.0.0.1';
The reason for this is that pma tries to connect to the mysql.socket if you use localhost. If you use 127.0.0.1 PMA makes a TCP connection which should work.
More Related Contents:
- How to install MySQLi on MacOS
- Unknown database error in PHP but it exists in PHPMyAdmin
- Object of class mysqli_result could not be converted to string
- SELECT COUNT(*) AS count – How to use this count
- Mysqli update throwing Call to a member function bind_param() error [duplicate]
- mysqli bind_param() expected to be a reference, value given
- Should I manually check for errors when calling “mysqli_stmt_prepare”?
- mysqli_real_escape_string() expects exactly 2 parameters, 1 given
- How to write a stored procedure using phpmyadmin and how to use it through php?
- SSL operation failed with code 1: dh key too small
- Can’t pass mysqli connection in session in php
- Mysql event error using php
- PHP Fatal error: Call to undefined function mysqli_stmt_get_result()
- how to bind multiple parameters to MySQLi query [closed]
- mysqli ignoring the first row in a table
- Returning Multiple Rows with MySqli and Arrays
- mySQLi prepared statement unable to get_result()
- mysqli_select_db() expects parameter 1 to be mysqli, string given
- What does the mysqli_error() expects parameter 1 to be mysqli, null given mean?
- Mysqli prepared statement column with variable [duplicate]
- How to fetch all in assoc array from a prepared statement?
- Fatal error: Call to undefined function mysqli_result()
- Fatal error: Call to undefined method mysqli_stmt::fetch_array() [duplicate]
- Why I am getting an error when using w3school tutorial? [duplicate]
- Using wildcards in prepared statement
- How to remove the fatal error when fetching an assoc array
- Fatal error: Call to undefined method mysqli_stmt::get_result()
- PHP MySQLi Multiple Inserts
- Using Prepared Statement, how I return the id of the inserted row?
- When should I close a database connection in PHP?