<small id='fCrm7'></small><noframes id='fCrm7'>

      <bdo id='fCrm7'></bdo><ul id='fCrm7'></ul>

      <i id='fCrm7'><tr id='fCrm7'><dt id='fCrm7'><q id='fCrm7'><span id='fCrm7'><b id='fCrm7'><form id='fCrm7'><ins id='fCrm7'></ins><ul id='fCrm7'></ul><sub id='fCrm7'></sub></form><legend id='fCrm7'></legend><bdo id='fCrm7'><pre id='fCrm7'><center id='fCrm7'></center></pre></bdo></b><th id='fCrm7'></th></span></q></dt></tr></i><div id='fCrm7'><tfoot id='fCrm7'></tfoot><dl id='fCrm7'><fieldset id='fCrm7'></fieldset></dl></div>
    1. <legend id='fCrm7'><style id='fCrm7'><dir id='fCrm7'><q id='fCrm7'></q></dir></style></legend>
    2. <tfoot id='fCrm7'></tfoot>

      如何使用 phpMyAdmin 连接到您的 Prod/Dev 数据库?

      How to connect to your Prod/Dev database using phpMyAdmin?(如何使用 phpMyAdmin 连接到您的 Prod/Dev 数据库?)
    3. <small id='PYVKK'></small><noframes id='PYVKK'>

      <tfoot id='PYVKK'></tfoot>

      1. <legend id='PYVKK'><style id='PYVKK'><dir id='PYVKK'><q id='PYVKK'></q></dir></style></legend>
          <tbody id='PYVKK'></tbody>

          <i id='PYVKK'><tr id='PYVKK'><dt id='PYVKK'><q id='PYVKK'><span id='PYVKK'><b id='PYVKK'><form id='PYVKK'><ins id='PYVKK'></ins><ul id='PYVKK'></ul><sub id='PYVKK'></sub></form><legend id='PYVKK'></legend><bdo id='PYVKK'><pre id='PYVKK'><center id='PYVKK'></center></pre></bdo></b><th id='PYVKK'></th></span></q></dt></tr></i><div id='PYVKK'><tfoot id='PYVKK'></tfoot><dl id='PYVKK'><fieldset id='PYVKK'></fieldset></dl></div>

            • <bdo id='PYVKK'></bdo><ul id='PYVKK'></ul>

                本文介绍了如何使用 phpMyAdmin 连接到您的 Prod/Dev 数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我已经在我的 local 环境中使用 phpMyAdmin 一段时间了.它带有 WAMP 服务器.我很喜欢.我想知道是否也可以将我的开发/生产服务器与它连接起来.

                I’ve been using phpMyAdmin on my local environment for quit a while now. It comes with WAMP Server. I really like it. I was wondering if it’s possible to connect my dev/prod servers with it too.

                到目前为止,我使用 MySQL WorkBench 已经有一段时间了.我不是很喜欢它.

                As of now, I've using MySQL WorkBench for quite awhile now. I don't really like it that much.

                如果有人对此有任何经验,我希望您不介意给我一些建议/建议以超越这一点.

                If anyone have any experience with that, I hope you don’t mind give me some advice/suggestion to go above this.

                推荐答案

                phpMyAdmin 可以通过在 config.inc.php 中设置单个服务器连接详细信息来连接到多个服务器.您需要为每个服务器设置 $cfg['Servers'][$i] 数组.有关详细信息,请参阅 phpMyAdmin wiki:https://wiki.phpmyadmin.net/pma/Multiserver(这是以下示例的来源)

                phpMyAdmin can connect to multiple servers by setting individual server connection details in config.inc.php. You need To set $cfg['Servers'][$i] arrays for each server. See the phpMyAdmin wiki for details: https://wiki.phpmyadmin.net/pma/Multiserver (which is where the example below is from)

                $cfg['blowfish_secret']='multiServerExample70518';
                //any string of your choice (max. 46 characters)
                $i = 0;  
                
                $i++; // server 1 :
                $cfg['Servers'][$i]['auth_type'] = 'cookie'; // needed for pma 2.x
                $cfg['Servers'][$i]['verbose']   = 'no1'; 
                $cfg['Servers'][$i]['host']      = 'localhost';
                $cfg['Servers'][$i]['extension'] = 'mysqli';
                // more options for #1 ...
                
                $i++; // server 2 :
                $cfg['Servers'][$i]['auth_type'] = 'cookie';
                $cfg['Servers'][$i]['verbose']   = 'no2'; 
                $cfg['Servers'][$i]['host']      = 'remote.host.addr';//or ip:'10.9.8.1'
                // this server must allow remote clients, e.g., host 10.9.8.%
                // not only in mysql.host but also in the startup configuration
                $cfg['Servers'][$i]['extension'] = 'mysqli';
                // more options for #2 ... 
                
                // end of server sections
                $cfg['ServerDefault'] = 0; // to choose the server on startup
                

                确保完全了解您在做什么以及您是如何连接的,您不想仅仅为了使用 phpMyAdmin 而向外界开放对您的数据库的访问.

                Make sure to fully understand what you are doing and how you are connecting, you don't want to open access to your database to the outside world just to use phpMyAdmin.

                这篇关于如何使用 phpMyAdmin 连接到您的 Prod/Dev 数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                      <tbody id='VPFsn'></tbody>

                      <bdo id='VPFsn'></bdo><ul id='VPFsn'></ul>
                    • <i id='VPFsn'><tr id='VPFsn'><dt id='VPFsn'><q id='VPFsn'><span id='VPFsn'><b id='VPFsn'><form id='VPFsn'><ins id='VPFsn'></ins><ul id='VPFsn'></ul><sub id='VPFsn'></sub></form><legend id='VPFsn'></legend><bdo id='VPFsn'><pre id='VPFsn'><center id='VPFsn'></center></pre></bdo></b><th id='VPFsn'></th></span></q></dt></tr></i><div id='VPFsn'><tfoot id='VPFsn'></tfoot><dl id='VPFsn'><fieldset id='VPFsn'></fieldset></dl></div>

                          <legend id='VPFsn'><style id='VPFsn'><dir id='VPFsn'><q id='VPFsn'></q></dir></style></legend>

                          <small id='VPFsn'></small><noframes id='VPFsn'>

                        • <tfoot id='VPFsn'></tfoot>