Import database
mysql -u DB_USERNAME -p DB_NAME < /PATH/OF/DB/softsql.sql
Export database
mysqldump -u DB_USERNAME -p DB_NAME > /PATH/TO/DB/softsql.sql
by dev
Import database
mysql -u DB_USERNAME -p DB_NAME < /PATH/OF/DB/softsql.sql
Export database
mysqldump -u DB_USERNAME -p DB_NAME > /PATH/TO/DB/softsql.sql
by dev
To reboot VPS 5 minutes after midnight everyday:
Login via SSH and run the following:
echo shutdown -r now > /root/shutdown.sh;chmod +x /root/shutdown.sh
Then run crontab -e and enter this line:
5 0 * * * /root/shutdown.sh
Then save and exit.
by dev
Solution
The error message is triggered by the size limit of the text that can be stored into the column ‘content’ in the modules table. The text limit is 65535 in the MySQL database.
That’s all!
If not solved, please change Default editor to TinyMCE.
by dev
Replace the bold text as per your table name, field/column name, strings and conditions.
UPDATE table_name SET field_name = REPLACE(field_name, 'string_to_find', 'string_to_replace') WHERE conditions;
Example,
Table name: publication_settings
Field/column name: setting_value
String to change: Copyright © to ©
where conditions
Field/column name: setting_name
Field string/value: abstract
UPDATE publication_settings SET setting_value = REPLACE(setting_value, 'Copyright ©', '©') WHERE setting_name LIKE ('abstract');
by dev
Backup database.
Error occurs when you set the connection collation to anything other then the current server collation.
So
That’s all!