Is there a any way to set password for each database in MySQL server . if there , give some suggestions.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot set passwords on MySQL databases. You can set passwords for users with privileges granted per database, table, etc.
CREATE USER Syntax
GRANT Syntax
That should help get you started.