You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deployingzscluster.md
+15-20Lines changed: 15 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -14,46 +14,41 @@ Zend Server user interface is driven by MySQL database and separate instance of
14
14
---------------
15
15
16
16
1. Installing and configuring MySQL.
17
-
./mysql-install.sh
17
+
18
+
./mysql-install.sh
18
19
19
20
The goal of this step is to install and configure MySQL database backend to be used by **Zend Server Cluster Nodes**. Best practices would be to creat separate user with permissions on an empty database. "Registration" of the Zend Server node to the database will populate it with required structure. For small non-production environment location of the MySQL is no critical and can reside on one of the cluster nodes.
20
21
21
22
2. Adding user with **Admin** priveleges on the database which will be used by **Zend Cluster**.
22
23
23
-
`
24
-
mysql> CREATE zend_db_name;`
25
-
26
-
`
27
-
mysql> CREATE USER 'zend_db_user'@'localhost' IDENTIFIED BY 'zend_db_pass';
28
-
`
29
-
30
-
`mysql> GRANT ALL PRIVILEGES ON zend_db_name.* TO 'zend_db_user'@'localhost'
31
-
WITH GRANT OPTION;`
24
+
25
+
mysql> CREATE zend_db_name;
26
+
27
+
mysql> CREATE USER 'zend_db_user'@'localhost' IDENTIFIED BY 'zend_db_pass';
28
+
29
+
mysql> GRANT ALL PRIVILEGES ON zend_db_name.* TO 'zend_db_user'@'localhost' WITH GRANT OPTION;
32
30
33
-
`
34
-
mysql> CREATE USER 'zend_db_user'@'%' IDENTIFIED BY 'zend_db_pass';
35
-
`
31
+
mysql> CREATE USER 'zend_db_user'@'%' IDENTIFIED BY 'zend_db_pass';
36
32
37
-
`
38
-
mysql> GRANT ALL PRIVILEGES ON zend_db_name.* TO 'zend_db_user'@'%'
33
+
mysql> GRANT ALL PRIVILEGES ON zend_db_name.* TO 'zend_db_user'@'%'
39
34
WITH GRANT OPTION;
40
-
`
35
+
41
36
42
37
Above provided example of SQL sintax to create database and use and grant required permissions.
43
38
44
39
3. Install Zend Command Line scripts on all the nodes.
0 commit comments