Difference between revisions of "MySQL basics"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
=Getting Started= | == Getting Started == | ||
==Connecting to MySQL== | === Connecting to MySQL === | ||
To access a database from the command line, use: | To access a database from the command line, use: |
Revision as of 12:00, 15 July 2007
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.