[name@host ~]$ mysqldump -u username -p database_name > data.sql
[name@host ~]$ tar zcvf sql.tgz data.sql[name@host ~]$ tar zxvf sql.tgz
[name@host ~]$ mysql -u username -p database_name < data.sqlq250 wrote:I tried locally to convert but i cant "upload" my 390 MB database locally to sql xD ... "sql server has gone away" ... hello timingsi will manage it after school exams

We have a board with 400,000 posts and 80,000 users and it took around 2 hours to convert. We run 2 dedicated servers, 1 for database, 1 for httpd.
You could prune your old posts and inactive users if you want to speed up conversion time.
To get a compressed version of your SQL, log into SSH and use:
[name@host ~]$ mysqldump -u username -p database_name > data.sql
[name@host ~]$ tar zcvf sql.tgz data.sql
Then you download via FTP/HTTP, move the file to the right place using the mv command.
To put on localhost, use:
Code: Select all
[name@host ~]$ tar zxvf sql.tgz
[name@host ~]$ mysql -u username -p database_name < data.sql
Convert it, then recompress and send back. A compressed version will be about 1/5-1/6 the size of uncompressed if using tarball and gunzip.
If you don't have SSH to your server, then I would assume you are running on a shared server, and this is most likely why your conversion time is so slow. You should splash out for a dedicated server. If you lose so much from one day of advertising, you must be making a killing and therefore should be able to afford it.
q250 wrote:Because day without working is heavy finansal lost from advertise... user lost ---> more finansal lost etc.
Yup because of best information in this 390.000 posts... we got up to 1044 users online


Return to [3.0/Olympus] New features discussion
Users browsing this forum: No registered users and 9 guests