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.
Related Posts:
- mysqli_real_connect(): (HY000/2002): No such file or directory
- phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
- How to log in to phpMyAdmin with WAMP, what is the username and password?
- Should I use mysqli_real_escape string() or mysql_real_escape_string() for form data?
- mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in
- Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, object given in
- Fatal error: Call to undefined function mysqli_connect()
- phpMyAdmin: secret passphrase?
- Forbidden :You don’t have permission to access /phpmyadmin on this server
- Fatal error: Call to undefined function mysqli_connect()
- Fatal error: Call to a member function bind_param() on boolean [duplicate]
- MySqli Commands out of sync; you can’t run this command now
- Fix Access denied for user ‘root’@’localhost’ for phpMyAdmin
- “Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP
- Commands out of sync; you can’t run this command now
- Call to undefined method mysqli_stmt::get_result
- Call to undefined method mysqli_stmt::get_result
- Fatal error: Cannot use object of type mysqli_result
- How to solve “Fatal error: Class ‘MySQLi’ not found”?
- mysql_field_name to the new mysqli
- mysqli_select_db() expects parameter 1 to be mysqli, string given
- mysqli::query(): Couldn’t fetch mysqli
- Warning: mysqli_query() expects at least 2 parameters, 1 given. What? [duplicate]
- Updating php version on mac
- Deprecated: mysql_query() [duplicate]
- Object of class mysqli_result could not be converted to string
- Fatal error: Call to a member function fetch_assoc() on a non-object
- Having a problem getting mysqli_query to execute
- CodeIgniter: Unable to connect to your database server using the provided settings Error Message
- MySQL Daemon Failed to Start – centos 6
- Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given… what I do wrong?
- Call to a member function fetch_assoc() on boolean in
[duplicate] - PHP variables don’t evaluate in the query [duplicate]
- Auto increment in phpmyadmin
- Replace ' and similar html codes with their correspondent character?
- How to prevent the “Confirm Form Resubmission” dialog?
- navigate back with PHP form submission
- How to fix “Headers already sent” error in PHP
- Whoops, looks like something went wrong. Laravel 5.0
- “Notice: Undefined variable”, “Notice: Undefined index”, and “Notice: Undefined offset” using PHP
- http://localhost:80 is not working on running Apache server through UniServer ZeroXIII
- How do I get PHP errors to display?
- Get the full URL in PHP
- How to force file download with PHP
- How to Set Category Page as Home Page in Prestashop
- Getting an error when I visit http://localhost
- PHP + curl, HTTP POST sample code?
- How to call a JavaScript function from PHP?
- Double click and run the Php script on mac
- Error 500: Premature end of script headers
- Cookies vs. sessions
- PDO with INSERT INTO through prepared statements
- How to get the file extension in PHP?
- Multiple file upload in php
- When should I use ‘self’ over ‘$this’?
- php create object without class
- Creating a search form in PHP to search a database?
- How do I make a simple crawler in PHP?
- Create PDF file using PHP
- Sort array of objects by object fields
- Compare given date with today
- When to generate a new Application Key in Laravel?
- What does it mean to escape a string?
- Creating default object from empty value in PHP?
- Send attachments with PHP Mail()?
- Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by all
- Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in
- Convert DateTime to String PHP
- Xampp Access Forbidden php
- File attachment with PHPMailer
- Warning: mysqli_query() expects parameter 1 to be mysqli, resource given
- Fatal error: Call to undefined function money_format()
- PHP “&” operator
- XAMPP, using port:81, cannot run localhost:81/mywebsite
- What is the MM/DD/YYYY regular expression and how do I use it in php?
- Updating php version on mac
- How to integrate WordPress with Angular 8 for website?
- Fatal error: Maximum execution time of 30 seconds exceeded
- cURL request in Laravel
- PHP array printing using a loop
- How to send to BCC address when using PHPMailer to format MIME message for Gmail API?
- Call a REST API in PHP
- Fatal error: Call to a member function query() on null
- Is there any way to test PHP locally without installing a server?
- PHP Redirect with POST data
- Getting the screen resolution using PHP
- PHP: fopen() Permission denied
- How should I be setting browscap.ini file
- Returning JSON from a PHP Script
- Can I store images in MySQL
- How to remove index.php from WordPress site URL
- How to generate .json file with PHP?
- Call to a member function on a non-object [duplicate]
- Generate PDF from HTML PHP
- How to use Memcached with PHP7?
- Remove empty array elements
- select count(*) from table of mysql in php
- Would manually deleting the dumping data fix a “#1062 – Duplicate entry ‘1’ for key ‘PRIMARY'” phpMyAdmin error?
- Update a buggy installation
- How to use phpspreadsheet reader with $wpdb