mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix for bug #422736 - Setup used hardcoded value 'phpgroupware' for database name.
This commit is contained in:
parent
0340b45566
commit
c9094e5f38
@ -110,8 +110,8 @@
|
||||
Login to mysql -<br>
|
||||
<i>[user@server user]# mysql -u root -p</i><br>
|
||||
Create the empty database and grant user permissions -<br>
|
||||
<i>mysql> create database phpgroupware;</i><br>
|
||||
<i>mysql> grant all on phpgroupware.* to phpgroupware@localhost identified by 'password';</i><br>
|
||||
<i>mysql> create database <?php echo $phpgw_domain[$ConfigDomain]["db_name"]; ?>;</i><br>
|
||||
<i>mysql> grant all on <?php echo $phpgw_domain[$ConfigDomain]["db_name"]; ?>.* to phpgroupware@localhost identified by 'password';</i><br>
|
||||
";
|
||||
break;
|
||||
case "pgsql":
|
||||
@ -120,7 +120,7 @@
|
||||
Start the postmaster<br>
|
||||
<i>[user@server user]# postmaster -i -D /home/[username]/[dataDir]</i><br>
|
||||
Create the empty database -<br>
|
||||
<i>[user@server user]# createdb phpgroupware</i><br>
|
||||
<i>[user@server user]# createdb <?php echo $phpgw_domain[$ConfigDomain]["db_name"]; ?></i><br>
|
||||
";
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user