PhpMyAdmin User name and password (reprint)

Source: Internet
Author: User
PhpMyAdmin User name and password (reprint)
Recently began to learn PHP, I heard that PHP is generally installed lamp (linux+apache+mysql+php), of course, we are now generally using Windows system, Linux can not, but heard apache+mysql+ PHP installation and management is very troublesome, so I installed a Thai made by an integrated PHP operating environment--appserv 2.6.0.

Although the installation is very convenient, just need to fill in the installation path, domain name (if not their domain name, generally write localhost on the line), mailbox (this does not matter, I write their own 163 mailbox), port number (keep the default 80 on the line), root password. can be successfully installed.

But the next is not good to say, although Appserv integration, more than the previous decentralized management three software to change the simple, but still a little trouble, first of all it is the command line management, always to the Internet to find the desired command.

I read that can use phpMyAdmin to manage MySQL, so I tried to find that there are several problems:

1. In the browser input http://localhost/phpmyadmin/can not connect to the Appserv www folder, need to use http://127.0.0.1/phpmyadmin/to enter, I used to think that the two were the same, but the practice only found that the original is different.

2. After entering http://127.0.0.1/phpmyadmin/, a popup dialog asks you to enter your username and password, and at first I thought it was root and password (the root password I wrote myself when I installed it), but I did not enter it a few times. So the Internet check, I try again, enter the admin, password is empty, click OK, the results unexpectedly, unexpectedly login success.

Originally Appserv installed to want to enter the phpMyAdmin, the default user name and password is admin and empty, not appserv/www/phpmyadmin/config.inc.php written in the user name and password Ah! And I looked all over the file. No information about the admin is found and the password associated with it. Although I don't know where they are, I know how to get into the phpmyadmin by practicing it.

Today there are some, the original config.inc.php user name and password used to log in to MySQL, need to use Cmd.exe, enter into Appserv \mysql\bin\, and then enter Mysql-h localhost-u root-p Then hit enter, will change line, and then ask you to enter the password: Enter the password you wrote when you install Appserv, you can log into the root user's account of localhost, in the previous Red command:

-H refers to the meaning of host, localhost refers to the name of your host, which is the one you fill out when you install it;

-U means user, root is MySQL's default discretionary account;

-P refers to the meaning of password, which is the password corresponding to the user.
  • Related Article

    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.