Comments (5)
@wate Please let me know the revision of the goval-dict
$ cd $GOPATH/src/github.com/kotakanbe/goval-dictionary
$ git rev-parse --short HEAD
from goval-dictionary.
@kotakanbe b8751b9
from goval-dictionary.
Thanks,
I am busy this week, I will check it out next week.
from goval-dictionary.
@wate Finally, it works fine :)
Please update goval-dict, and change sql_mode of your mysql database.
$ docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=chHUIDCUAUaidfhasuadasuda -d mysql:8 --sql-mode="" --default-authentication-plugin=mysql_native_password
4e4440bbbcb556cf949c2ffcda15afe6ee7139752c08de8b1e4def47adde24ea
$ docker exec -it mysql bash
root@4e4440bbbcb5:/# mysql -uroot -h127.0.0.1 -pchHUIDCUAUaidfhasuadasuda
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 8
Server version: 8.0.12 MySQL Community Server - GPL
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
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> select @@GLOBAL.sql_mode;
+-------------------+
| @@GLOBAL.sql_mode |
+-------------------+
| |
+-------------------+
1 row in set (0.00 sec)
mysql> create database oval;
Query OK, 1 row affected (0.08 sec)
mysql> exit
Bye
root@4e4440bbbcb5:/# exit
exit
bash-3.2$ go build && ./goval-dictionary fetch-ubuntu -dbtype mysql -dbpath "root:chHUIDCUAUaidfhasuadasuda@(127.0.0.1:3306)/oval?parseTime=true" 18
INFO[08-21|21:41:58] Fetching... URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml
INFO[08-21|21:47:56] Fetched... URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml
INFO[08-21|21:47:56] Finished fetching OVAL definitions
INFO[08-21|21:47:56] Fetched URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml OVAL definitions=6319
INFO[08-21|21:47:56] Refreshing... Family=ubuntu Version=18
bash-3.2$ go build && ./goval-dictionary fetch-debian -dbtype mysql -dbpath "root:chHUIDCUAUaidfhasuadasuda@(127.0.0.1:3306)/oval?parseTime=true" 9
INFO[08-21|21:49:43] Fetching... URL=https://www.debian.org/security/oval/oval-definitions-stretch.xml
INFO[08-21|21:50:14] Fetched... URL=https://www.debian.org/security/oval/oval-definitions-stretch.xml
INFO[08-21|21:50:14] Finished fetching OVAL definitions
INFO[08-21|21:50:16] Fetched URL=https://www.debian.org/security/oval/oval-definitions-stretch.xml OVAL definitions=17946
INFO[08-21|21:50:16] Refreshing... Family=debian Version=9
from goval-dictionary.
refs
https://github.com/jinzhu/gorm/issues/595
docker-library/mysql#149 (comment)
$ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag --sql-mode=""
https://stackoverflow.com/a/49021165
docker run -p 3306:3306 --name mysql_80 -e MYSQL_ROOT_PASSWORD=password -d mysql:8 mysqld --default-authentication-plugin=mysql_native_password
from goval-dictionary.
Related Issues (20)
- Server mode for SUSE Linux
- fetch debian 8 is not working HOT 2
- Support Amazon 22 HOT 1
- Failed to HMGet. Some fields do not exist. continue scanning on redis-backend
- Rocky Linux support HOT 2
- Debian oval does not seems to be parsed correctly HOT 1
- Ubuntu oval definitions aren't up to date
- border effect when reading data : redis::GetByPackName - breaks on a redis cluster with RO slaves HOT 2
- fetchAlpine calls InsertOval twice per version
- Fail : Fetch Security Updates from Fedora 32 33
- --log-to-file option missing
- CLI help for fetch command is incomplete HOT 3
- The fetched OVAL has not been updated for 3 days for all ubuntu versions HOT 5
- Error inserting Ubuntu OVAL
- RHEL oval v1 archive location was changed. HOT 2
- Fetch a modified version of LIVEPATCH on Amazon Linux
- Fail : Fetch Security Updates from Fedora 36
- Please set User-Agent to a meaningful value HOT 1
- "The fetched OVAL has not been updated for 3 days" for RHEL HOT 1
- Fedora Fetch not existing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goval-dictionary.