Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use phpmyadmin to connect remotely

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use phpmyadmin remote connection, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

You need to use a local PHPMYADMIN to connect to the remote MYSQL database. The following configuration is as follows: open config.inc.php

1. Change the login verification method

Look for $cfg ['Servers'] [$I] [' auth_type'], whose value is changed to cookie

two。 Change the URL of the phpmyadmin program, look for $cfg ['PmaAbsoluteUri'], and its value will be changed to your phpmyadmin URL similar to

Http://www.aaa.com/phpmyadmin .

3. Change the default login language, look for $cfg ['DefaultLang'], its value is changed to zh, and the rest do not need to be configured, because using cookie login, directly compare the database to determine permissions. It is independent of these parameters in the configuration file.

The solution of not logging in remotely

Mysql > use mysql;mysql > update user set host ='%'? If where user='root' and host='localhost';// has two users root, you should add and host='localhost';mysql > flush privileges;mysql > select 'host','user' from user where user='root';mysql > quit. These are all the contents of the article "how to use phpmyadmin remote connection". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report