How to change the MySQL timezone
When you develop your website, you may have to compare a certain date/time with the current date/time on the server. The timezone on SiteGround’s servers is CST. This is a global setting which cannot...
View ArticleWhat is the default path to the MySQL binary?
The correct path to the MySQL binary at all SiteGround servers is: /usr/bin/mysql
View ArticleHow to access phpMyAdmin directly from my domain?
In order to access phpMyAdmin directly from: http://yourdomain.com/phpmyadmin you need to install phpMyAdmin on your hosting account. This way you won’t have to first log in to your cPanel when you...
View ArticleHow to use MySQL stored procedures and routines?
MySQL stored procedures and stored routines are supported after MySQL 5. All SiteGround clients can use MySQL stored procedures and routines on their web hosting accounts. To use stored procedures,...
View ArticleWhat are MySQL triggers and how to use them?
The MySQL trigger is a database object that is associated with a table. It will be activated when a defined action is executed for the table. The trigger can be executed when you run one of the...
View ArticleI cannot create views in MySQL
Regular MySQL users do not have privileges to create views in MySQL. If you try to execute CREATE VIEW with a regular user, you will receive the following error message: #1142 – CREATE VIEW command...
View ArticleHow to reset the password for a MySQL database?
You may need to change the password of your database in order to improve the security of your website or if your account has been compromised by hackers. Basically the easiest way to change the...
View ArticleHow to change the password of a Mysql user in cPanel?
If you have already created a MySQL user through the cPanel -> Mysql Databases tool you may want to update its password. You can complete the task through the same tool -> Current Users section....
View ArticleError about legacy type authentication (old-style) when connecting remotely...
This particular error can occur in some MySQL clients. The reason for it is that our servers support both the old and new password hashing for database users. Thus, if your MySQL client sees that we...
View ArticleHow to export/import a MySQL database via SSH
In this article we will show you how to export and import a MySQL database via SSH. Managing your databases via SSH is especially useful when dealing with large databases (over 50Mb). SiteGround...
View Article