PHP learning notes (3) ---- PHPMYADMIN installation and use [Original]

xiaoxiao2021-03-06  100

After downloading phpmyadmin-2.5.7.zip, decompress, change the named word to DBM (mainly do not want to enter phpMyadmin-2.5.7, then a string, people lazy, 嘿), and store it under the root of the default website. Find config.inc.php in DBM, find the first $ cfg ['Servers'] [$ I] ['user'] =, the rebound is sa, the following password does not care, let it empty, Finding $ cfg ['servers'] [$ I] [$ I] [$ i] [$ I] [$ I] [$ I] [$ I] [$ I] ['Port'] = '' Change to $ cfg ['servers'] [$ I] ['Port'] = '3306', save. Enter http://localhost/dbm/index.php in the browser to see the management page. At this time, we can see that you can't create a new database, because we don't use the root account to log in, as long as the $ cfg ['Servers'] [$ I] ['user'] = 'sa' will SA can be changed to root. There may be in the management page display

You must set a $ cfg ['pmaabsoluteuri'] instruction in your configuration file!

At this time, we can find $ cfg ['PMaabsoluteuri'] = '' in config.inc.php, change '' to pHPMYADMIN where I'm http: // localhost / dbm, modified: $ cfg ['pmaabsoluteuri'] = 'http:// localhost / dbm'. There are still some security problems, don't say much, now I am still not clear, hehe ~~ over.

转载请注明原文地址:https://www.9cbs.com/read-97070.html

New Post(0)