Tag: mysql

MySQL Commands

Connecting to a Database – if database name is known: mysql -u<username> -p<password> <database-name> Connecting to a Database – if database name is not known: mysql -u<username> -p<password> Listing Databases: show databases; Connecting to a Database: use database <database-name>; Listing tables within a Database: show tables; Showing Contents of Table: select * from <table-name>;




Installing Cacti on Centos 6.3

Cacti requires the following packages to be installed: MySQL: A Database server to store cacti information. Apache: A Web server to display network graphs created by PHP and RRDTool. PHP: A script module to create graphs using RRDTool. PHP-SNMP: A PHP extension for SNMP to access data. NET-SNMP: A SNMP (Simple Network Management Protocol) is used to manage…