Commit 11d15d96 authored by Łukasz Nowak's avatar Łukasz Nowak

- add what to follow to secure mysql


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44308 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 779fbf44
...@@ -14,6 +14,7 @@ def runMysql(args): ...@@ -14,6 +14,7 @@ def runMysql(args):
if not os.path.isdir(os.path.join(conf['data_directory'], 'mysql')): if not os.path.isdir(os.path.join(conf['data_directory'], 'mysql')):
while True: while True:
# XXX: Protect with proper root password # XXX: Protect with proper root password
# XXX: Follow http://dev.mysql.com/doc/refman/5.0/en/default-privileges.html
popen = subprocess.Popen([conf['mysql_install_binary'], popen = subprocess.Popen([conf['mysql_install_binary'],
'--skip-name-resolve', '--no-defaults', '--datadir=%s' % '--skip-name-resolve', '--no-defaults', '--datadir=%s' %
conf['data_directory']], conf['data_directory']],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment