How to find MySQL Version Installed on Server
You can find the MySQL version on your server using a simple SSH command. Login in server via SSH, and execute following command. mysql_config --version This command will show the current installed...
View ArticleHow to create and restore Full MySQL backup of all accounts
If you have many websites / accounts on your server, and you want to make backup of all mySQL via a single command, here is how you can do. Creating regular full mySQL backup of all accounts is a very...
View ArticleHow to find MySQL root password
Server root MySQL password can be different from server root password. Here is how you can get root MySQL password. Login as root via SSH and execute following command tail /root/.my.cnf OR cat...
View ArticleHow to move MySQL directory to /home
By default all MySQL database on a server is saved in /var/lib/mysql directory. If you don’t have enough space left in /var directory or if its filling up quickly, you can move your MySQL directory to...
View ArticleHow to change or move MySQL /tmp directory
This tutorial explains how you can change or move MySQL /tmp directory to a new location on a server / VPS. Login as root to your server via SSH. Step 1: Open /etc/my.cnf file for editing nano...
View ArticleHow to run MySQLTuner on a cPanel server
MySQLTuner is great script to optimize mysql database of a server. It reports a large number of statistics and settings from your MySQL database engine, and then offers general recommendations to...
View ArticleHow to find MySQL Error logs
If you want to see the list of MySQL errors on your server, please follow below steps. You can use tail or cat command to read the error log file. Tail command will display last 10 lines while cat...
View ArticleHow to Start, Stop and Restart MySQL from SSH
Using below commands you can start, stop and restart MySQL from SSH. Login to your server as root via SSH, and run following commands. Start MySQL service mysql start OR /etc/init.d/mysql start Stop...
View ArticleHow To Install MySQL on a CentOS Server
Following command will install MySQL on a CentOS server / VPS. Login to your server as root via SSH, and run following command. Step 1: yum install mysql-server service mysqld start Step 2: Set MySQL...
View ArticleHow to Install LAMP (Linux, Apache, MySQL, PHP) on CentOS RedHat 6 Server
In this tutorial I will explain how to install and setup LAMP on a RHEL/CentOS Linux 6.x server. Before I start the tutorial, let’s know what is LAMP. LAMP stack is a group of open source software used...
View ArticleHow to find mysql root password of a cPanel server via SSH
Login to your server as root via SSH. By default, MySQL root password is saved in the /root/.my.cnf file. Open this file using command. Here you can see your server mysql root password. Source
View ArticleHow To Create Database Backup from SSH
Login to your server via SSH as root user. Use below command to create / export a database. database_name -> The name of database of which you want to create backup. /backup/database_name.sql ->...
View Article
More Pages to Explore .....