Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2485080
04-reset-mysql-kolab-password.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
342 B
Referenced Files
None
Subscribers
None
04-reset-mysql-kolab-password.sh
View Options
#!/bin/bash
mysql -h
${
DB_HOST
:-
127
.0.0.1
}
-u root --password
=
${
DB_ROOT_PASSWORD
}
<<EOF
ALTER USER $DB_HKCCP_USERNAME@'%' IDENTIFIED BY '$DB_HKCCP_PASSWORD';
CREATE USER '$DB_KOLAB_USERNAME'@'%' IF NOT EXISTS IDENTIFIED BY '${DB_KOLAB_PASSWORD}';
ALTER USER $DB_KOLAB_USERNAME@'%' IDENTIFIED BY '$DB_KOLAB_PASSWORD';
FLUSH PRIVILEGES;
EOF
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Thu, Nov 20, 9:10 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387310
Default Alt Text
04-reset-mysql-kolab-password.sh (342 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment