Comments (4)
What I did was run on Terminal:
subunit2sql --database-connection tempest-full
I think the argument is not correct.
from ciml.
The subunit2sql
CLI can be used to inject subunit files into the DB, which is not what you need to do, at least not against openstack's DB.
You can browse the DB directly using the CLI or any SQL graphical client.
In either case learning some SQL basics will help :)
You don't need to access the MySQL DB directly to use CIML, but it may help you understanding what data is available to you.
Example on using the CLI:
mysql -u query -p -h logstash.openstack.org -D subunit2sql
The password is query
, the account is read only.
mysql> show tables;
+-----------------------+
| Tables_in_subunit2sql |
+-----------------------+
| alembic_version |
| attachments |
| run_metadata |
| runs |
| test_metadata |
| test_run_metadata |
| test_runs |
| tests |
+-----------------------+
8 rows in set (0.13 sec)
from ciml.
Thank you , I managed to do that.
But when I try to make a --database-connection I get the following:
ImportError: dlopen(/usr/local/lib/python3.7/site-packages/MySQLdb/_mysql.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libmysqlclient.18.dylib
Referenced from: /usr/local/lib/python3.7/site-packages/MySQLdb/_mysql.cpython-37m-darwin.so
Reason: image not found
from ciml.
@johnnylousas that seems to be a problem with your mysql library. I would recommend using pymsql
as per requirements.txt.
I'm going to go ahead and close this one which is about the direct connection to mysql.
Feel free to open a new issue if you hit other problems.
from ciml.
Related Issues (14)
- db uri HOT 12
- Cache data fails in case of local data (not S3) HOT 1
- Unhandled EmptyDataError
- Collecting Cache Data HOT 1
- README.MD Example HOT 2
- Connection time out HOT 2
- Find other build names HOT 2
- tf.logging HOT 4
- Argument must be string HOT 1
- collecting data HOT 8
- re.compile(feature_regex) HOT 6
- cache-data nr of entries in data HOT 2
- Dstat data HOT 3
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 ciml.