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
Add below contents in ~/.bash_profile file and source to make it effective:
63
61
```
64
-
PATH=/opt/IvorySQL-4.5/bin:$PATH
62
+
PATH=/usr/ivory-4/bin:$PATH
65
63
export PATH
66
-
PGDATA=/opt/IvorySQL-4.5/data
64
+
PGDATA=/usr/ivory-4/data
67
65
export PGDATA
68
66
```
69
67
```
@@ -73,29 +71,27 @@ $ source ~/.bash_profile
73
71
** Initializing database
74
72
75
73
```
76
-
$ initdb -D /opt/IvorySQL-4.5/data
74
+
$ initdb -D /usr/ivory-4/data
77
75
```
78
-
....
79
-
The -D option specifies the directory where the database cluster should be stored. This is the only information required by initdb, but you can avoid writing it by setting the PGDATA environment variable, which can be convenient since the database server can find the database directory later by the same variable.
76
+
The -D option specifies the directory where the database cluster should be stored. This is the only information required by initdb, but you can avoid writing it by setting the PGDATA environment variable, which can be convenient since the database server can find the database directory later by the same variable.
The -D option specifies the file system location of the database configuration files. If this option is omitted, the environment variable PGDATA in <<setting-environment-variables>> is used. -l option appends the server log output to filename. If the file does not exist, it is created.
86
+
The -D option specifies the file system location of the database configuration files. If this option is omitted, the environment variable PGDATA in <<setting-environment-variables>> is used. -l option appends the server log output to filename. If the file does not exist, it is created.
The -d option specifies the name of the database to connect to. ivorysql is the default database of IvorySQL. However,IvorySQL of lower versions need the users themselves to connect to postgres database at the first connection and then create the ivorysql database.The latest IvorySQL can do all these for users.
132
+
The -d option specifies the name of the database to connect to. ivorysql is the default database of IvorySQL. However,IvorySQL of lower versions need the users themselves to connect to postgres database at the first connection and then create the ivorysql database.The latest IvorySQL can do all these for users.
138
133
139
-
For more options, refer to psql --help.
140
-
....
134
+
For more options, refer to psql --help.
141
135
142
136
TIP: When running IvorySQL in Docker, additional parameters need to be added, like: psql -d ivorysql -U ivorysql -h 127.0.0.1 -p 5434
143
137
144
138
Now you can start your journey of IvorySQL! Enjoy!
145
139
146
-
To explore additional installation methods, please refer to the xref:v4.5/6.adoc[Installation].
140
+
To explore additional installation methods, please refer to the xref:v4.5/6.adoc[Installation].
0 commit comments