Hey,

I have installed Mysql and launched it from command line using cd Mysql/bin/mysql.
I want to now how to give user credentials as soon as it opens. Also, is there any default username by which it opens. I ask this because, without logging in I'm able to run all commands in Mysql.

Can anyone help me with this?

to log in with credentials you can call it by

mysql -u username -p

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.