|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
i start mysql through
./mysql.server start and i starts successfully but now how can i get sql prompt to query and create database? |
|
#2
|
|||
|
|||
|
Run this script:
/usr/local/mysql/bin/mysql_install_db |
|
#3
|
|||
|
|||
|
To get a mysql prompt at the command line you need to run:
mysql -u user -ppassword If mysql is not in your path you will need to add that. If it's your first time connecting use root for user and no password but set a password as soon as possible! |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > how can i get "mysql>" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|