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
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It only takes a minute to sign up.
Sign up to join this communityI 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
You looking for Uniform Resource Identifier (URI) scheme, and the syntax is:
mysql://username:password@host:port/database/tablename
See the MySQL documentation