To change the MySQL Server default port no. 3306,follow the given below steps.
1. Check the aviailbe port in system first:
# netstat -tanp |grep xxxx
InetServices offers both Windows and Linux bare metal server hosting, and cloud server hosting for any small to medium size business. We also offer both PCI and HIPAA Compliant servers allowing you to achieve PCI or HIPAA Compliance without all the worries of figuring it out. InetServices offers much more than just dedicated servers and cloud servers, we offer you a complete solution to your hosting needs including Big Data, Disaster Recovery, and High Availability services.
To change the MySQL Server default port no. 3306,follow the given below steps.
1. Check the aviailbe port in system first:
# netstat -tanp |grep xxxx
Login as root, typing the command below.
#mysql databasename -u databaseuser -p databasepassword < database.sql
To install Mytop, run the following command. Make sure you must have RPMForge or EPEL repository under RHEL/CentOS systems.
# yum install mytop
Before you can do anything with your database, you must create a table. A table is a section of the database for storing related information. In a table you will set up the different fields which will be used in that table. Because of this construction, nearly all of a site’s database needs can be satisfied using just one database.
The DELETE FROM statement is used to delete records from a database table.
The UPDATE statement is used to update existing records in a table.
The ORDER BY keyword is used to sort the data in a recordset.
The ORDER BY keyword sort the records in ascending order by default.
If you want to sort the records in a descending order, you can use the DESC keyword.
The WHERE clause is used to extract only those records that fulfill a specified criterion.
The SELECT statement is used to select data from a database.
The INSERT INTO statement is used to add new records to a database table.
It is possible to write the INSERT INTO statement in two forms.