Untitled

mail@pastecode.io avatar
unknown
sh
2 years ago
4.0 kB
5
Indexable
Never
root@fintech1-test401:~/eightcat# go run cmd/cmd*.go db create
INFO[0000] Loading module - dummybill.so
INFO[0000] Loading module - dummyhsm.so
INFO[0000] Loading module - dummyreport.so
INFO[0000] Loading module - kafkareport.so
INFO[0000] Loading module - mnetbill.so
2021-10-22 17:23:03 [INFO] Using queue broker - redis://localhost:6379/3
2021-10-22 17:23:03 [ERRO] Category send for tier default_user not found in the database
2021-10-22 17:23:03 [ERRO] Category send for tier registered_user not found in the database
2021-10-22 17:23:03 [ERRO] Category send for tier verified_user not found in the database
2021-10-22 17:23:03 [ERRO] Category send for tier default_reseller not found in the database
2021-10-22 17:23:03 [ERRO] Category send for tier wholesale_reseller not found in the database
2021-10-22 17:23:03 [ERRO] Category staff_sales for tier sales_staff not found in the database
2021-10-22 17:23:03 [ERRO] Category topup for tier default_user not found in the database
2021-10-22 17:23:03 [ERRO] Category topup for tier registered_user not found in the database
2021-10-22 17:23:03 [ERRO] Category topup for tier verified_user not found in the database
2021-10-22 17:23:03 [ERRO] Category receive for tier default_user not found in the database
2021-10-22 17:23:03 [ERRO] Category receive for tier registered_user not found in the database
2021-10-22 17:23:03 [ERRO] Category receive for tier default_reseller not found in the database
2021-10-22 17:23:03 [ERRO] Category staff_deposit for tier sales_staff not found in the database
2021-10-22 17:23:03 [ERRO] Category deposit for tier default_user not found in the database
2021-10-22 17:23:03 [ERRO] Category deposit for tier registered_user not found in the database
2021-10-22 17:23:03 [ERRO] Category deposit for tier default_reseller not found in the database
2021-10-22 17:23:03 [INFO] Registering report provider: DummyReport
2021-10-22 17:23:03 [ERRO] Error 1305: FUNCTION eightcat.Polyfill_Sphere_Distance does not exist
2021-10-22 17:23:03 [ERRO] Score default_score not found in the database
2021-10-22 17:23:03 [ERRO] Score rental_score not found in the database
2021-10-22 17:23:03 [ERRO] Score postpaid_score not found in the database
2021-10-22 17:23:03 [INFO] Registering bill provider: DummyBill
2021-10-22 17:23:04 [ERRO] Error 1050: Table 'eightcat_promotion' already exists
root@fintech1-test401:~/eightcat#
root@fintech1-test401:~/eightcat#
root@fintech1-test401:~/eightcat# go run app.o
package app.o: cannot find module providing package app.o

root@fintech1-test401:~/eightcat# mysql -h localhost -u root -pletmein 
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 76
Server version: 5.7.35-0ubuntu0.18.04.2 (Ubuntu)

Copyright (c) 2000, 2021, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> use eightcat;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+------------------------------+
| Tables_in_eightcat           |
+------------------------------+
| eightcat_balance_transaction |
| eightcat_card                |
| eightcat_card_log            |
| eightcat_client              |
| eightcat_credit_score        |
| eightcat_credit_transaction  |
| eightcat_incentive           |
| eightcat_incentive_log       |
| eightcat_journal_entry       |
| eightcat_merchant_product    |
| eightcat_pool_log            |
| eightcat_promotion           |
| eightcat_reseller            |
| eightcat_score               |
| eightcat_task_log            |
| eightcat_transaction_limit   |
| eightcat_voucher             |
| eightcat_wallet              |
+------------------------------+
18 rows in set (0.00 sec)