Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : How to import a big database on phpmyadmin



Normal Mode | Print  

 How to import a big database on phpmyadmin (1 Replies, Read 38152 times)
peopleinside
Group: Member
Post Group: Super Member
Posts: 1394
Status:

Open source, web and security passionate
Hi to all, different times i had issues when i need to migrate from a server to another in particular when i need import a database that is bigger than 50 MB
This post may help me in the future and can be useful also to other users.Centos 7
  1. You need use SFTP than locate /usr/local/webuzo/enduser/webuzo/phpmyadmin/
  2. Edit config.inc.php find
    Code
    $cfg['UploadDir'] = '';
    than compile likle this:
    Code
    $cfg['UploadDir'] = 'upload';
  3. Create the folder upload on  /usr/local/webuzo/enduser/webuzo/phpmyadmin/
  4. by SSH go to /usr/local/webuzo/enduser/webuzo/phpmyadmin/upload/
  5. Type in this command: mysql -p -u user_name database_name < file.sql (replace 'user_name', 'database_name', and 'file.sql' with the actual name.) You will be prompted for your database user password, and then your database will be imported.


-----------------------
PeopleInside  :angel:

Web, security, open source passionate.
IP: --   


Threads
 peopleinside   How to import a big database on phpmyadmin (1 Replies, Read 38152 times)
    |--  peopleinside   The up procedure...   on October 17, 2019, 8:10 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 26, 2024, 7:13 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.024