A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/go-sql-driver/mysql/wiki/Testing below:

Testing · go-sql-driver/mysql Wiki · GitHub

Use Docker to run MySQL for testing
docker run -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -e MYSQL_DATABASE=gotest -p 3306:3306 \
    --rm --name mysqld mysql:latest --innodb-flush-log-at-trx-commit=0 --local-infile=1

If you set up MySQL without Docker, set local-infile server setting.

Maybe you need to edit the parameters the connection to the sever is opened with. Here is an example how you can set a different password:

$ export MYSQL_TEST_PASS=root
$ SET MYSQL_TEST_PASS=root

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4