SQL Password

fallenapples

In Runtime
Messages
386
Location
Toronto, Ontario
I cannot figure out the correct prompts for cm in SQL I have tried -h -p -u and other variations. Am I putting in the correct credentials? Is my host name localhost? On phpmyadmin it tells me I am user root@localhost. Please help!
 
mysql -u <username> -p <password not required, will prompt if left empty>

So it would just be
mysql -u root -p

and it will prompt for password
 
Just an FYI, SQL != MySQL :p

Make sure you're referencing the correct environment ;).
 
Meh, I've used both. I like SQL because of table-value parameters and SQL Server Management Studio (and the integration with Visual Studio :p).

When you talk about "SQL" do you mean Microsoft SQL Server? SQL itself is a language, not a DBMS. Just to be pedantic.
 
Back
Top Bottom