httpd-php-mysql-sanity-test moved to /integration dir

This commit is contained in:
Branislav Náter 2021-02-17 15:26:45 +01:00
commit 263f39c514
6 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,11 @@
CREATE DATABASE php_mysql_test;
USE php_mysql_test;
CREATE TABLE foobar (name VARCHAR(10), value INTEGER);
INSERT INTO foobar VALUES("fish", 42);
# It's not possible to use root user since MariaDB 10.4
# See https://mariadb.com/kb/en/authentication-plugin-unix-socket/
CREATE USER 'tester'@'localhost';
GRANT SELECT ON php_mysql_test.foobar TO 'tester'@'localhost';