douxie1894 2018-08-28 18:37
浏览 598
已采纳

phpMyAdmin在尝试导出数据库时显示空白页面?

Recently I uninstalled the Wamp Server and re-installed the newer version of Wamp Server which is 3.1.3

Note: I am using Windows 10

Below are all the details of Wamp Server:

Apache Version: 2.4.33  
PHP Version: 5.6.35
MySQL Version: 5.7.21 
phpMyAdmin Version: 4.7.9

When I click on MYSQL Database in phpMyAdmin and then click on Export, the phpMyAdmin shows blank page. However, when I click on Import, phpMyAdmin doesn't show blank page at all. But the strange thing is when clicking on Export, phpMyAdmin shows Blank Page.

Since, I'm trying to export a Database from phpMyAdmin, I need to make sure that the page doesn't go blank when clicking on "Export" button.

I'm not sure regarding how to approach this problem because I'm very new in phpMyAdmin.

Would be really helpful if any recommended advice or solution is provided.

  • 写回答

2条回答 默认 最新

  • douxing9641 2018-08-28 18:50
    关注

    If you want to export the database using Command Line, then in that case, you can use mysqldump command.

    If it's an entire DB, then:

       $ mysqldump -u [uname] -p[pass] db_name > db_backup.sql
    

    If it's all DBs, then:

       $ mysqldump -u [uname] -p[pass] --all-databases > all_db_backup.sql
    

    If it's specific tables within a DB, then:

       $ mysqldump -u [uname] -p[pass] db_name table1 table2 > table_backup.sql
    

    You can even go as far as auto-compressing the output using gzip (if your DB is very big):

       $ mysqldump -u [uname] -p[pass] db_name | gzip > db_backup.sql.gz
    

    uname - Username of database
    pass - Password of database
    

    You can check this answer

    If you are using Windows then you need to change directory to C:\wamp\bin\mysql\mysql-version\bin and do above steps.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于#vscode#的问题:ESP32开发板对接MQTT实现小灯泡的开关
  • ¥15 TMC2209串口模式下读取不到寄存器的值串口助手蓝色字体是发过去的消息,绿色字体是收到的消息,第二行发送读取寄存器的指令但是没有读取到寄存器的值串口助手如下图:接线如下图,如何解决?
  • ¥15 高通安卓11提取完整线刷包软件,或者优博讯dt50顺丰刷机包
  • ¥20 C,有个译码器,换了信道就跑不出原来数据
  • ¥15 MIMIC数据库安装问题
  • ¥60 基于JTag协议开发Fpga下载器上位机,哪位大🐂有偿指导?
  • ¥20 全书网Java爬取数据
  • ¥15 怎么获取红包封面的原始链接,并且获取红包封面序列号
  • ¥100 微信小程序跑脚本授权的问题
  • ¥100 房产抖音小程序苹果搜不到安卓可以付费悬赏