1

I am creating app with ExpressJS and want to use MySQL with password, but I have problem with connection string

mysql://user@localhost:3306/db

in this string where to specify password to connect to db

Please help me

4

You looking for Uniform Resource Identifier (URI) scheme, and the syntax is:

mysql://username:password@host:port/database/tablename

See the MySQL documentation

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.