summaryrefslogtreecommitdiffstats
path: root/debian/mariadb-server.README.Debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-01 18:15:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-01 18:15:13 +0000
commit85c88fe6f1d622d10f5ac2d747412cb90f5cf150 (patch)
tree310fa21dd40d6c7ad918d0771b5f03c378d54cc6 /debian/mariadb-server.README.Debian
parentMerging upstream version 1:11.4.2. (diff)
downloadmariadb-85c88fe6f1d622d10f5ac2d747412cb90f5cf150.tar.xz
mariadb-85c88fe6f1d622d10f5ac2d747412cb90f5cf150.zip
Merging debian version 1:11.4.2-1.HEADprogress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org> debian/control debian/libmariadbd19.install debian/libmariadbd19.lintian-overrides debian/salsa-ci.yml
Diffstat (limited to 'debian/mariadb-server.README.Debian')
-rw-r--r--debian/mariadb-server.README.Debian6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/mariadb-server.README.Debian b/debian/mariadb-server.README.Debian
index 6042249a..68726f8b 100644
--- a/debian/mariadb-server.README.Debian
+++ b/debian/mariadb-server.README.Debian
@@ -145,16 +145,16 @@ If your local Unix account is the one you want to have local super user
access on your database with you can create the following account that will
only work for the local Unix user connecting to the database locally.
- sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO '$USER'@'localhost' IDENTIFIED VIA unix_socket WITH GRANT OPTION"
+ sudo /usr/bin/mariadb -e "GRANT ALL ON *.* TO '$USER'@'localhost' IDENTIFIED VIA unix_socket WITH GRANT OPTION"
To create a local machine account username=USERNAME with a password:
- sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION"
+ sudo /usr/bin/mariadb -e "GRANT ALL ON *.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION"
To create a USERNAME user with password 'password' admin user that can access
the DB server over the network:
- sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO 'USERNAME'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION"
+ sudo /usr/bin/mariadb -e "GRANT ALL ON *.* TO 'USERNAME'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION"
Scripts should run as a user who have the required grants and be identified via unix_socket.