Preface
Recently, during the project development process, a domestic database was usedRenmin University of China Golden Warehouse (KingbaseES database), you need to modify the database compatibility mode during use. Here is a brief introduction to the relevant commands.
For installation in Linux environment, 人大金仓
please refer to this article: Installing Renmin University of China Kingbase ES database in Linux system command line
1. Switch user
su - kingbase
2. Parking
cd /opt/Kingbase/ES/V8/Server/bin
./sys_ctl stop -D /opt/Kingbase/ES/V8/data
3. Reinitialize mysql mode
cd /opt/Kingbase/ES/V8
mv data data_old
cd /opt/Kingbase/ES/V8/Server/bin
./initdb -U system -W -D /opt/Kingbase/ES/V8/data -m mysql --enable-ci
Enter the system user password to complete the initialization of mysql mode
4. Start the database
./sys_ctl start -D /opt/Kingbase/ES/V8/data