MySQL basics: Difference between revisions

From GotOpinion
Jump to navigation Jump to search
No edit summary
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 15: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.