<tfoot id='sJtTp'></tfoot>
    • <bdo id='sJtTp'></bdo><ul id='sJtTp'></ul>

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

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

        同步 MySQL 远程 &amp;使用 phpMyAdmin 的本地数据库

        Synchronize MySQL remote amp; local database using phpMyAdmin(同步 MySQL 远程 amp;使用 phpMyAdmin 的本地数据库)
            <tbody id='GggSx'></tbody>

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

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

                  <tfoot id='GggSx'></tfoot>

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

                1. 本文介绍了同步 MySQL 远程 &amp;使用 phpMyAdmin 的本地数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有本地 MySQL 数据库,它偶尔会发生变化,当它发生变化时,我想将它与远程数据库同步.我正在使用 PhpMyAdmin 的同步选项.

                  我已授予所有 IP 远程连接的权限.

                  问题:当我想使用 PhpMyAdmin 的同步选项将远程数据库与本地数据库同步时.它只显示了数据库结构的差异,两个数据库上的数据也不同,但没有显示出差异.

                  当我通过单击 Synchronize Database 按钮同步数据库并再次进行同步时.它再次显示相同的结构同步.

                  见下图

                  如果有人有其他解决方案,请也告诉我.本地详情操作系统:Windows7软件:EasyPHP12.0远程详细信息服务器:Linux CpanelPhpMyAdmin

                  解决方案

                  打开 phpMyAdmin/config.inc.php 并添加这些关于服务器配置"的行.

                  $i++;$cfg['Servers'][$i]['host'] = '';//远程 MySQL 主机名或 IP 地址$cfg['Servers'][$i]['port'] = '';//MySQL 端口 - 默认端口留空$cfg['Servers'][$i]['socket'] = '';//套接字的路径 - 默认套接字留空$cfg['Servers'][$i]['connect_type'] = 'tcp';//如何连接到 MySQL 服务器('tcp' 或 'socket')$cfg['Servers'][$i]['extension'] = 'mysql';//要使用的 php MySQL 扩展('mysql' 或 'mysqli')$cfg['Servers'][$i]['compress'] = FALSE;//使用压缩协议进行 MySQL 连接$cfg['Servers'][$i]['auth_type'] = 'config';//身份验证方法(基于配置、http 或 cookie)?$cfg['Servers'][$i]['user'] = '';//远程 MySQL 用户$cfg['Servers'][$i]['password'] = '';//远程 MySQL 密码

                  <块引用>

                  现在您的 phpMyAdmin 首页上有一个服务器"下拉菜单.选择你的服务器和宾果游戏!

                  致谢:codejourneymen

                  而且,有很多例子,也许有帮助:

                  phpadmin 远程数据库

                  I have local MySQL database which changes occasionally, when it changes I want to synchronize it with Remote database. I am using PhpMyAdmin's synchronize option for it.

                  I have given permissions to all IP to connect remotely.

                  Problem: When I want to synchronize remote database with local database using synchronize option of PhpMyAdmin. It only shows the database structure difference but data is also different on both the databases but it is not showing that difference.

                  And when I synchronize the database by clicking Synchronize Database button and again do synchronization. It again shows same structure synchronization.

                  See image below

                  If anyone have alternate solution for it please also tell that. Local Details OS: Windows7 Software: EasyPHP12.0 Remote Details Server: Linux Cpanel PhpMyAdmin

                  解决方案

                  Open phpMyAdmin/config.inc.php and add these lines about "Server Configuration".

                  $i++;
                  $cfg['Servers'][$i]['host']          = '<remote-server-address>'; // Remote MySQL hostname or IP address
                  $cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port
                  $cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket
                  $cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket')
                  $cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli')
                  $cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
                  $cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
                  $cfg['Servers'][$i]['user']          = '<db-username>';     // Remote MySQL user
                  $cfg['Servers'][$i]['password']      = '<db-password>';     // Remote MySQL password
                  

                  Now there is a 'servers' dropdown on your phpMyAdmin front page. Pick your sever and bingo!

                  Credits: codejourneymen

                  And, there are a lot of example, maybe help:

                  phpadmin remote database

                  这篇关于同步 MySQL 远程 &amp;使用 phpMyAdmin 的本地数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 的问题)
                  <legend id='YO31Q'><style id='YO31Q'><dir id='YO31Q'><q id='YO31Q'></q></dir></style></legend>

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

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

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