WordPoints / dev-lib

Developer tools for WordPoints projects
MIT License
4 stars 0 forks source link

wpcept: Running codeception tests locally gives warning about MySQL password #188

Closed JDGrimes closed 8 years ago

JDGrimes commented 8 years ago
 [Codeception\Exception\ModuleException]                                                                   
  WordPoints\Tests\Codeception\Modules\WordPointsLoader:                                                    
  Failed to create database dump: Warning: Using a password on the command line interface can be insecure.  

I discovered that this can be fixed by using MYSQL_PWD=<password> instead of placing the password in the query, although this too is not generally recommended, but it is fine for this application.