Sql command line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Sql command line

how can I use sql command line

2nd Jan 2017, 12:04 PM
Chandan Vishwakarma
Chandan Vishwakarma - avatar
3 Answers
+ 1
See this link below, it shows you five ways to manage the database, including the so called command line. I am supposing you are using MySQL. http://www.techrepublic.com/blog/five-apps/five-tools-to-help-you-manage-your-mysql-databases/
3rd Jan 2017, 7:57 AM
Olavo André Parno
Olavo André Parno - avatar
+ 1
which book is best for learning Linux for biggener
29th Jul 2017, 6:43 AM
Chandan Vishwakarma
Chandan Vishwakarma - avatar
0
In your bash type: mysql -u #YourUsername# -p You'll get ask to type the password for the given user. You set an username and password when you installed mysql-server. If you logged in you are able to execute sql statements like SELECT * from userdb.user where username = "John";
2nd Jan 2017, 12:30 PM
qobus