You can monitor the usage on your account via the MySQL Usage section of the panel.
- Conueries is a term used by DreamHost to measure MySQL database usage. The word is a combination of "connections" and "queries." which is the number of MySQL queries you have in a month, plus 25 times the number of connections you have is your total "conueries" for a month.
- DreamHost does not impose any hard limits of conueries on its plans.
- DreamHost reserves the right to make high-volume users curtail their database usage (or switch to DreamHost PS MySQL). This only applies to very high-volume customers who may be receiving thousands of database-driven visitors each day.
On DreamHost shared accounts, some of the SQL commands listed in the MySQL documentation link below or in references such as the O'Reilly book Managing & Using MySQL by Reese, et al., are not available for scripting nor in phpMyAdmin.
Their functionality is available instead through the DreamHost control panel.
- CREATE DATABASE: only works from the shell if you previously created a database with the specified same name using your DreamHost Panel and then dropped it at some point. You should use --drop-database with mysqldump when backing up a database.
The following table summarizes the privileges a MySQL user at DreamHost may have, as compared to all available privileges.
|ALL [PRIVILEGES]||Grant all privileges at specified access level except GRANT OPTION||NO|
|ALTER||Enable use of ALTER TABLE||YES|
|ALTER ROUTINE||Enable stored routines to be altered or dropped (Only if you are the user@host DEFINER that created the routine)||YES|
|CREATE||Enable database and table creation (Only tables can be created, Databases must be created in the control panel)||YES|
|CREATE ROUTINE||Enable stored routine creation (Cannot set DEFINER as non-root user, please remove DEFINER='user'@'host' combo to create routines)||YES|
|CREATE TEMPORARY TABLES||Enable use of CREATE TEMPORARY TABLE||YES|
|CREATE USER||Enable use of CREATE USER, DROP USER, RENAME USER, and REVOKE ALL PRIVILEGES||NO|
|CREATE VIEW||Enable views to be created or altered||YES|
|DELETE||Enable use of DELETE||YES|
|DROP||Enable databases, tables, and views to be dropped||YES|
|EVENT||Enable use of events for the Event Scheduler||NO|
|EXECUTE||Enable the user to execute stored routines||YES|
|FILE||Enable the user to cause the server to read or write files (unnecessary, if you get this error you are likely using "LOAD DATA INFILE" and should use "LOAD DATA LOCAL INFILE" instead)||NO|
|GRANT OPTION||Enable privileges to be granted to or removed from other accounts||NO|
|INDEX||Enable indexes to be created or dropped||YES|
|INSERT||Enable use of INSERT||YES|
|LOCK TABLES||Enable use of LOCK TABLES on tables for which you have the SELECT privilege||YES|
|PROCESS||Enable the user to see all processes with SHOW PROCESSLIST (shows only your specific MySQL users processes)||YES|
|RELOAD||Enable use of FLUSH operations||NO|
|REPLICATION CLIENT||Enable the user to ask where master or slave servers are||NO|
|REPLICATION SLAVE||Enable replication slaves to read binary log events from the master||NO|
|SELECT||Enable use of SELECT||YES|
|SHOW DATABASES||Enable SHOW DATABASES to show all databases (Only shows those databases you have access to)||NO|
|SHOW VIEW||Enable use of SHOW CREATE VIEW||YES|
|SHUTDOWN||Enable use of mysqladmin shutdown||NO|
|SUPER||Enable use of CHANGE MASTER TO, KILL, PURGE BINARY LOGS, and SET GLOBAL statements, the mysqladmin debug command; allows you to connect (once) even if max_connections is reached||NO|
|TRIGGER||Enable triggers to be created or dropped (Cannot set DEFINER as non-root user, please remove DEFINER='user'@'host' combo to create trigger)||YES|
|UPDATE||Enable use of UPDATE||YES|
|USAGE||Synonym for “no privileges”||NO|
If you want to delete or drop a database
- You can delete a database created on DreamHost through the panel (Control Panel > Goodies > MySQL Databases).
- Deleted Databases are moved to the recycle bin shown on the same page, and are permanently deleted after 30 days. This allows for easy restoration of databases that are mistakenly deleted.
- If you wish to permanently delete a database, you can log into MySQL using the command and issue a "drop database" statement to expedite the process.