Results 1 to 10 of 27

Thread: [MySQL] MySQL Database setup recommendation for best results.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,952

    Default

    Hello, there are two ways:
    first is to increase max_execution_time and session.gc_maxlifetime settings in your php.ini file if you are going to perform such operations via phpMyAdmin in future;
    second is to perform restoration via command line interface. To do it, you need to upload your archive via ftp or file manager, unzip it using the command
    Code:
    unzip <archive name>
    and restore it
    Code:
    mysql dbname < dbdump.sql
    Please, note, that these operations should be performed logged as root user.

  2. #2
    omarfilip's Avatar
    omarfilip is offline Nearly a Master Glow Jedi
    Join Date
    Jan 2008
    Location
    Dallas, TX
    Posts
    127

    Default

    Quote Originally Posted by Alexander View Post
    you need to upload your archive via ftp or file manager
    Forgive my ignorance, but where exactly should I upload the gzipped file?

  3. #3
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,952

    Default

    You can upload it in any folder on your VPS, logged as root user you can unzip it and restore without any problems. Please, note, that during the restoration the extracted dump must be in your current folder. Also, the db should exist.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12