Cause: MySQL username and password do not correspond to the username and password of the phpMyAdmin configuration file, so I can't even go up.Solve:1. Login MySQL Change passwordYou can log in with the CMD console or you can log in with the MySQL console of Wamp.->use MySQL->update User Set Password=password ("password") where user= ' root ';2. Modify the user name password for the phpMyAdmin configuration
test.php file in the root directory of the Web site that contains
CODE:
php$host="localhost";$user="root";$password="12345";//12345改成你的mysql密码$link=mysql_connect($host,$user,$password);if(!$link)echo";elseecho";mysql_close();?>
Open http://localhost/test.php in BrowserIf the output succeeds, it is done.More Articles PHP enthusiasts stationhttp://www.phpfans.netInstall
1> download of individual partsCurrently under Windows developmentPHP Official website: https://windows.php.net/downloadPHP has TS (ThreadSafe) and NTS two versions, so follow PHP's tips If you use IIS as a FASTCGS development using NTS because FASTCGI is single threaded. Use the TS version if you want to serviceapi with apache2.x.apache2.x Download Direct click on "Apache Lounge".phpMyAdmin's official address: https://www.phpmyadmin.net/2> Installation and Configuration2.1 "Configure PHPFind ph
In the previous phpmyadmin tutorial, I introduced a lot of phpmyadmin configuration knowledge. in phpmyadmin3.4, the graphical phpmyadmin configuration function is displayed, this article mainly introduces phpmyadmin in The phpmyadmin tutorial in the form of a graphical inte
|+--------------------+| Information_schema || MySQL || Performance_schema || Python || Test |+--------------------+5 rows in Set (0.02 sec)
Mysql>
3. OK, the above method is not the best, but it is simple and feasible, Enjoy it!!!
4, Method four:
These days with a blank password login mysql, and then modify the MySQL default password, using the MySQL table has been the problem, prompted: Error 1044 (42000): Access denied for user ' @ ' localhost
Phpmyadmin is the client software used to remotely connect to the MySQL database. you can follow these steps:
To configure the phpmyadmin software:
Download the phpmyadmin.rar file to your local computer;
Decompress the file using winrar to generate a phpmyadmin directory;
Ask the customer to use notepad and other software on the local host to edit the config.
Appserv: username and password for entering mysql and phpmyadmin
I recently started to learn PHP. I heard that LAMP (Linux + Apache + MySQL + PHP) is usually installed in PHP. of course, we usually use Windows systems now, so we can skip it in Linux, however, I heard that it is very troublesome to install and manage Apache + MySQL + PHP, so I installed an Integrated PHP runtime environment created by Thai people-appserv 2.6.0.
Despite the e
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 install
Download the latest version of phpMyAdminMYSQL manager, click this site to download phpMyAdmin, decompress it, and get a phpMyAdmin Directory (you can change the name) to find the config in the directory. inc. open the php file and find $ cfg [PmaAbsoluteUri] to modify the phpMyAdmin URL you will upload to the space, for example, $ cfg [PmaAbsoluteUri] http:
My php environment is WAMP, which has been configured and used for a while. Yesterday I saw an article about setting a password under the permission in phpMyAdmin.
My php environment is WAMP, which has been configured and used for a while. Yesterday I saw an article about setting a password under the permission in phpMyAdmin.
My php environment is WAMP, which has been configured and used for a while. Y
] [' Auth_ The value of type '] is as if it were a cookie, so we have to write a string of characters in the quotation marks of $cfg[' blowfish_secret ' = ', and you can interpret it as an authentication code. For example $cfg[' blowfish_secret '] = ' Sunec '. Save to exit.
At this point, phpmyadmin installation configuration work is finished, enter the browser, in the address bar input http://localhost/
In ubuntu, when phpmyadmin is enabled, the error 404 is displayed. after phpmyadmin is installed, localhostphpmyadmin is enabled, and the error 404 is displayed. after google is installed, you can find a solution. here, www. noob2geek. comlinuxfix-phpmyadmin-404-error-ubuntu, opening phpmyadmin under sudodpkg-reconfigu
enter the user name and password. The server address is optional in the drop-down list. After logging on to phpMyAdmin, you can also select another server to switch quickly. (Recommended)
Advantage: it is easy to log on. After login, you do not need to exit the current connection after switching the server.
Procedure:
1. Back up the config. sample. inc. php file under the phpMyAdmin root directory to confi
1, the permission is too large, the prompt configuration file can not have write permission650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/93/1B/wKiom1kILU7S0vlEAAAwBGDb7nY757.png-wh_500x0-wm_ 3-wmp_4-s_2907842399.png "title=" 1.png "alt=" Wkiom1kilu7s0vleaaawbgdb7ny757.png-wh_50 "/>I get this error when I try to access localhost/phpmyadmin:Wrong permissions on configuration file, should is not being world writable!Workaround:sudo chmod 75
PHP.Let's create this file and input vim/var/www/html/index. php In the command line.After opening, write a sentence in it At this time, access http: // youhost/. Is the php information displayed?6. install and configure PhpMyAdminSame usage, huh, huh1. After the download, copy the phpmyadmin code to/VAR/WWW/HTML under the php root directory, decompress the code, and enter:Tar jxvf phpmyadmin2.8.2.tar.bz22. Rename the decompressed folder to
an. htaccess file to complete the operation:
AuthUserFile/srv/www/domain.com/.htpasswd
AuthGroupFile/dev/null
AuthName adminAuthType basic
Order Deny, Allow
Deny From All
Allow From localhost
Require user admin
Satisfy any
The above code snippet makes it possible that the path/srv/www/domain.com is not protected, so the. htaccess file is outside the Web path (for example, the DocumentRoot in Apache is/srv/www/domain.com/html ). Use the htpass
an. htAccess file to complete the operation:
AuthUserFile/srv/www/domain.com/.htpasswd
AuthGroupFile/dev/null
AuthName adminAuthType basic
Order Deny, Allow
Deny From All
Allow From localhost
Require user admin
Satisfy any
The above code snippet makes it possible that the path/srv/www/domain.com is not protected, so the. htaccess file is outside the Web path (for example, the DocumentRoot in Apache is/srv/www/domain.com/html ). Use the htpasswd tool
the browser to see if the apache welcome page is displayed?Next, write a php page named index. php: This php file should be placed in the web root directory. where is the root directory? the root directory path is configured in httpd. in the conf file, enterVim/etc/httpd/conf/httpd. confFind DocumentRoot/var/www/html in it. this is the root directory of PHP.Let's create this file and input vim/var/www/html/index. php in the command line.After opening, write a sentence in it
, Press esc, and th
phpMyAdmin is used to remotely connect to the MySQL database client software, users can refer to the following steps
To configure phpMyAdmin software at a glance:
Please download the Phpmyadmin.rar file to your local;
Use WinRAR to extract the file and generate a phpmyadmin directory;
Ask the customer to use software such as Notepad on the local host to edit t
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