Skip to content

Shell script to log into MySQL via Doctrine settings from Symfony .env file

License

Notifications You must be signed in to change notification settings

johnykvsky/MySQLdotEnv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MySQLdotEnv

Software License

When you work with Symfony and got tired of checking database user/pass in env files just to connect to mysql on test servers...

This bash script will search for provided env file in given location and try to connect to mysql database using DATABASE_URL= connection string.

Remember: DO NOT USE THIS SCRIPT ON PRODUCTION SERVERS! DO NOT PUT THIS SCRIPT INSIDE WEB FOLDERS!

Usage

./mysql-dotenv.sh ./path-to/your.dotenv-file/.env

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Shell script to log into MySQL via Doctrine settings from Symfony .env file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages