Mysql-phpmyadmin installation error

Source: Internet
Author: User
Tags unsupported
Install the environment on Mac today, configure some software based on apache that comes with mac, first install PHP7.0.6homebrew, then install the installation package mysql5.7.12, and then create a new server when phpmyadmin4.6.1 is installed, authentication input roo...

Install the environment on Mac today and configure some software based on apache that comes with mac.
PHP7.0.6 homebrew is installed first
Then install the installation package directly downloaded from mysql5.7.12
Then phpmyadmin 4.6.1

When installing phpmyadmin, create a new server. if you enter the root account and password for authentication, an error is returned.

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
Ignoring unsupported language code.

Check php. ini release annotation session. save_path
Restart apache to clear the browser cookie

This problem still occurs after the retry. do you have a comprehensive and detailed solution?

Error

PHP version information

Reply content:

Install the environment on Mac today and configure some software based on apache that comes with mac.
PHP7.0.6 homebrew is installed first
Then install the installation package directly downloaded from mysql5.7.12
Then phpmyadmin 4.6.1

When installing phpmyadmin, create a new server. if you enter the root account and password for authentication, an error is returned.

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
Ignoring unsupported language code.

Check php. ini release annotation session. save_path
Restart apache to clear the browser cookie

This problem still occurs after the retry. do you have a comprehensive and detailed solution?

Error

PHP version information

I carefully studied the reasons why pma of version 4.6 and later has poor support for Chinese. because the browser is Chinese, pma is automatically triggered to set the default language to Chinese, but the Chinese support is poor, therefore, an error is returned.
Directly modify the pma root directorylibraries/config.default.phpA statement in the file

$cfg['Lang'] = 'en';

Add the en in the single quotation marks. The only trouble is that all the interfaces are in English.

Reference: phpmyadmin solves the ignoring unsupported language code error

After being properly displayed, I encountered a 2002 error while logging on to the normal interface, so I searched again
You only needconfig.inc.phpOne statement in the statement

$cfg['Servers'][$i]['host'] = 'localhost';

Replace localhost with 127.0.0.1.

Reference: phpMyAdmin is throwing a #2002 cannot log in to the mysql server phpmyadmin

Have you seen Ignoring unsupported language code?
Just change the logon language to English!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.