Sidehistorik
...
Kodeblok |
---|
create database joomladb; grant all privileges on joomladb.* to jadmin@localhost identified by 'password' WITH GRANT OPTION;: flush privileges; |
Hvis MySQL ligger på en server, men f.eks Joomla på en anden, gøres det nemmest ved:
Kodeblok |
---|
grant all privileges on joomladb.* to 'joomlauser'@'%' identified by 'password' WITH GRANT OPTION;
flush privileges;
|
Hvor localhost er erstattet med % - dette kan også være et explicit FDQN hostname eller IP
Kodeblok |
---|
grant all privileges on joomladb.* to 'joomlauser'@'10.0.0.100' identified by 'password' WITH GRANT OPTION; flush privileges; grant all privileges on joomladb.* to 'joomlauser'@'web.mos-eisley.dk' identified by 'password' WITH GRANT OPTION; flush privileges; |