Refer to my thread I posted at forum Lx Center , my question was, how do I increase the size of the import file into phpMyAdmin inside Kloxo Panel?
You can see the following screen. The current uploadable file size is Max.8,192KiB. So, you can’t upload big file as like 10MB onwards.
At the forum, Anik answered,
You can restore your database through ssh. Upload the file in your server via ftp. now go to that directory where you uploaded that file. It should be something like
[root@server]# cd /home/admin/yourdomain.com
[root@server yourdomain.com]# mysql -p -u root seoblogb_wordpr < backup.sql
|
Alright, here the thing.
The above command can be executed if you were using Kloxo Admin of which you created a domain.
My problem was I created a domain under Client. This is the best way to install a WordPress blog. You can understand why so if you have gone through the tutorial at this site.
Hence, that the right command for my case in this instant:
Very Important:
To get into mydomain.com through SSH
cd /home/diettips/dietsolutiontips.commysql -p -u dietsolu_wordpr dietsolu_wordpr < dietsolu_20110424_796.sql
Note: admin > username ( Mine is diettips for this one domain ). dietsolutiontips.com is abviously the domain for this username. |
I uploaded SQL file to the root ( dietsolu_20110424_796.sql – This is my file ).
Update: You can upload mysql file to a folder such as blog.
So, my command of the above would be changed to
cd /home/diettips/dietsolutiontips.com/blog
By Anik: You should first upload the .sql file in your current directory where you are in then run the command. If problem persist try
chown -R 1006:1006 /directory/ |
chown -R 1006:1006 /home/admin/domain.com/ |
Therefore,
chown -R 1006:1006 /home/diettips/dietsolutiontips.com/
This was the exact command I used.
Long story short, the following are all the commands in relation to my case.
cd /home/diettips/dietsolutiontips.commysql -p -u dietsolu_wordpr dietsolu_wordpr < dietsolu_20110424_796.sqlIf problem persist try:
chown -R 1006:1006 /home/diettips/dietsolutiontips.com/ Again, run: mysql -p -u dietsolu_wordpr dietsolu_wordpr < dietsolu_20110424_796.sql |
Side Note:
Enter Password:
Example site to use for illustration: dietsolutiontips.com
NOTE: In March 2013, I updated latest version for Kloxo, mysql and php. I found the latest mysql of which PhpMyadmin can import up to 200MB of files which is great. You can check to see what version by visiting here at: Kloxo Latest Update.
Leave a Reply
You must be logged in to post a comment.