Skip to content

Commit a251c72

Browse files
committed
Split GRANT and user creation
1 parent faa41b4 commit a251c72

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile.PL

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,8 @@ and has the proper privileges that these tests require such
482482
as 'drop table', 'create table', 'drop procedure', 'create procedure'
483483
as well as others.
484484
485-
mysql> grant all privileges on test.* to '$user'\@'localhost' identified by 's3kr1t';
485+
mysql> CREATE USER '$user'\@'localhost' IDENTIFIED BY 's3kr1t';
486+
mysql> GRANT ALL PRIVILEGES ON test.* TO '$user'\@'localhost';
486487
487488
You can also optionally set the user to run 'make test' with:
488489

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![.github/workflows/ci.yml](https://github.com/perl5-dbi/DBD-mysql/actions/workflows/ci.yml/badge.svg)](https://github.com/perl5-dbi/DBD-mysql/actions/workflows/ci.yml)
2+
13
# DBD::mysql - database driver for Perl
24

35
This is the Perl [DBI](https://metacpan.org/pod/DBI) driver for access to MySQL 8.x databases.

0 commit comments

Comments
 (0)