91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

安裝phpMyAdmin來管理Mysql數據庫

發布時間:2020-08-06 20:15:38 來源:ITPUB博客 閱讀:278 作者:stonebox1122 欄目:MySQL數據庫

https://www.apachefriends.org/download.html下載 xampp安裝包,一鍵安裝最簡單。

進行安裝,默認是安裝在/opt目錄下。

[root@D2-AMLUATdb61 ~]# chmod 755 xampp-linux-x64-7.1.4-0-installer.run

[root@D2-AMLUATdb61 ~]# ./xampp-linux-x64-7.1.4-0-installer.run

 

修改配置文件/opt/lampp/etc/extra/httpd-xampp.conf,增加Require all granted。

[root@D2-AMLUATdb61 ~]# vim /opt/lampp/etc/extra/httpd-xampp.conf

[root@D2-AMLUATdb61 ~]# grep -C 3 "Require all granted" /opt/lampp/etc/extra/httpd-xampp.conf

AllowOverride AuthConfig Limit

Require local

Require all granted

ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

啟動xampp。

[root@D2-AMLUATdb61 ~]# /opt/lampp/xampp start

Starting XAMPP for Linux 7.1.4-0...

XAMPP: Starting Apache...ok.

XAMPP: Starting MySQL...ok.

XAMPP: Starting ProFTPD...fail.

XAMPP: Another FTP daemon is already running.

 

在瀏覽器輸入IP地址后只能看到本地的mysql數據庫。

安裝phpMyAdmin來管理Mysql數據庫

 

要管理其他的數據庫,需要修改配置文件/opt/lampp/phpmyadmin/config.inc.php。

[root@D2-AMLUATdb61 ~]# cp /opt/lampp/phpmyadmin/config.inc.php /opt/lampp/phpmyadmin/config.inc.php.bak

[root@D2-AMLUATdb61 ~]# vim /opt/lampp/phpmyadmin/config.inc.php

[root@D2-AMLUATdb61 ~]# cat /opt/lampp/phpmyadmin/config.inc.php

<!--?php

/* vim: set expandtab sw=4 ts=4 sts=4: */

/**

* phpMyAdmin sample configuration, you can use it as base for

* manual configuration. For easier setup you can use setup/

*

* All directives are explained in documentation in the doc/ folder

* or at .

*

* @package PhpMyAdmin

*/

/**

* This is needed for cookie based authentication to encrypt password in

* cookie. Needs to be 32 chars long.

*/

$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */

/**

* Servers configuration

*/

$i = 0;

/**

* First server

*/

$i++;

/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'config';

$cfg['Servers'][$i]['user'] = 'root';

$cfg['Servers'][$i]['password'] = '';

/* Server parameters */

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

$cfg['Servers'][$i]['compress'] = false;

$cfg['Servers'][$i]['AllowNoPassword'] = true;

/**

* phpMyAdmin configuration storage settings.

*/

/* User used to manipulate with storage */

// $cfg['Servers'][$i]['controlhost'] = '';

// $cfg['Servers'][$i]['controlport'] = '';

$cfg['Servers'][$i]['controluser'] = 'pma';

$cfg['Servers'][$i]['controlpass'] = '';

/* Storage database and tables */

$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';

$cfg['Servers'][$i]['relation'] = 'pma__relation';

$cfg['Servers'][$i]['table_info'] = 'pma__table_info';

$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';

$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';

$cfg['Servers'][$i]['column_info'] = 'pma__column_info';

$cfg['Servers'][$i]['history'] = 'pma__history';

$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';

$cfg['Servers'][$i]['tracking'] = 'pma__tracking';

$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';

$cfg['Servers'][$i]['recent'] = 'pma__recent';

$cfg['Servers'][$i]['users'] = 'pma__users';

$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';

$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';

$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';

$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';

$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';

$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';

$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';

$cfg['Servers'][$i]['favorite'] = 'pma__favorite';

// $cfg['Servers'][$i]['favorite'] = 'pma__favorite';

// $cfg['Servers'][$i]['users'] = 'pma__users';

// $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';

// $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';

// $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';

// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';

// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';

// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';

/**

* End of servers configuration

*/

/**

* Second server

*/

$i++;

/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'config';

$cfg['Servers'][$i]['user'] = 'root';

$cfg['Servers'][$i]['password'] = '123456';

/* Server parameters */

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

$cfg['Servers'][$i]['compress'] = false;

$cfg['Servers'][$i]['AllowNoPassword'] = true;

/**

* phpMyAdmin configuration storage settings.

*/

/* User used to manipulate with storage */

// $cfg['Servers'][$i]['controlhost'] = '';

// $cfg['Servers'][$i]['controlport'] = '';

$cfg['Servers'][$i]['controluser'] = 'pma';

$cfg['Servers'][$i]['controlpass'] = '';

/* Storage database and tables */

$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';

$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';

$cfg['Servers'][$i]['relation'] = 'pma__relation';

$cfg['Servers'][$i]['table_info'] = 'pma__table_info';

$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';

$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';

$cfg['Servers'][$i]['column_info'] = 'pma__column_info';

$cfg['Servers'][$i]['history'] = 'pma__history';

$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';

$cfg['Servers'][$i]['tracking'] = 'pma__tracking';

$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';

$cfg['Servers'][$i]['recent'] = 'pma__recent';

$cfg['Servers'][$i]['users'] = 'pma__users';

$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';

$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';

$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';

$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';

$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';

$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';

$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';

$cfg['Servers'][$i]['favorite'] = 'pma__favorite';

// $cfg['Servers'][$i]['favorite'] = 'pma__favorite';

// $cfg['Servers'][$i]['users'] = 'pma__users';

// $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';

// $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';

// $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';

// $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';

// $cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';

// $cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';

/**

* End of servers 2 configuration

*/

 

上面增加的紅色部分表示增加一個被管理的Mysql數據庫。配置好后就可以在選擇增加的數據庫了。

安裝phpMyAdmin來管理Mysql數據庫

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

晋州市| 翁源县| 喀喇| 密山市| 资阳市| 乌拉特后旗| 临泉县| 郑州市| 高密市| 衡阳市| 青岛市| 藁城市| 靖边县| 潢川县| 新和县| 特克斯县| 樟树市| 灵台县| 绥滨县| 象州县| 如皋市| 巴南区| 铜川市| 凌海市| 淳化县| 台江县| 通城县| 松滋市| 西充县| 镇坪县| 徐闻县| 灌南县| 桐庐县| 澎湖县| 浪卡子县| 宜州市| 丹寨县| 栖霞市| 察哈| 四川省| 怀来县|