mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
[ticket/11920] Have to use empty root password otherwise db creation fails.
PHPBB3-11920
This commit is contained in:
parent
cdaea7a406
commit
55e24eb4f8
@ -34,7 +34,7 @@
|
||||
<server name="PHPBB_TEST_DBPORT" value="3306" />
|
||||
<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
|
||||
<server name="PHPBB_TEST_DBUSER" value="root" />
|
||||
<server name="PHPBB_TEST_DBPASSWD" value="rootpasswd" />
|
||||
<server name="PHPBB_TEST_DBPASSWD" value="" />
|
||||
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
|
||||
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
|
||||
</php>
|
||||
|
@ -24,3 +24,10 @@ sudo apt-get update -qq
|
||||
sudo debconf-set-selections <<< "mariadb-server-$VERSION mysql-server/root_password password rootpasswd"
|
||||
sudo debconf-set-selections <<< "mariadb-server-$VERSION mysql-server/root_password_again password rootpasswd"
|
||||
sudo apt-get install -qq mariadb-server
|
||||
|
||||
# Set root password to empty string.
|
||||
echo "
|
||||
USE mysql;
|
||||
UPDATE user SET Password = PASSWORD('') where User = 'root';
|
||||
FLUSH PRIVILEGES;
|
||||
" | mysql -u root -prootpasswd
|
||||
|
Loading…
x
Reference in New Issue
Block a user