MySQL basics

From Got Opinion Wiki
Revision as of 13:00, 15 July 2007 by Paul (talk | contribs)
Jump to navigation Jump to search

Getting Started

Connecting to MySQL

To access a database from the command line, use:

mysql -u username -ppassword -h hostname databasename

Note: There is no space between the -p and the password.