Skip to content

Commit

Permalink
MariaDB not mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
digininja authored Aug 2, 2024
1 parent d053c4d commit 37890ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,17 @@ $_DVWA[ 'db_database' ] = 'dvwa';

Note, if you are using MariaDB rather than MySQL (MariaDB is default in Kali), then you can't use the database root user, you must create a new database user. To do this, connect to the database as the root user then use the following commands:

```mysql
mysql> create database dvwa;
```mariadb
MariaDB [(none)]> create database dvwa;
Query OK, 1 row affected (0.00 sec)
mysql> create user dvwa@localhost identified by 'p@ssw0rd';
MariaDB [(none)]> create user dvwa@localhost identified by 'p@ssw0rd';
Query OK, 0 rows affected (0.01 sec)
mysql> grant all on dvwa.* to dvwa@localhost;
MariaDB [(none)]> grant all on dvwa.* to dvwa@localhost;
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
```

Expand Down

0 comments on commit 37890ca

Please sign in to comment.