SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Revision of Working with Databases from Mon, 06/01/2009 - 15:43
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
List Databases
show databases;
Create a database
/usr/local/mysql/bin/mysqladmin -u <username> -p create <databasename>
Create a user for a database
Login to the MySQL server:
/usr/local/mysql/bin/mysql -u <username> -p
Create the user and grant them privileges:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, INDEX, CREATE
TEMPORARY TABLES, LOCK TABLES
ON databasename.*
TO 'username'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
Export a database
/usr/local/mysql/bin/mysqldump -u username -p database_name > FILE.sql
Import a database
/usr/local/mysql/bin/mysql -u username -p database_name < FILE.sql
- Log in to post comments