MySQL Connection
in
Integration and Hardware
•
2 years ago
How do I take information from a table in mysql and insert it into a variable in processing.
Heres my attempt:
Thanks,
- msql = new MySQL( this, dbHost, database, user, pass );
- if ( msql.connect() )
- {
- msql.query( "SELECT Size FROM circles" );
- radius=msql.getInt(Size);
- println(radius);
- for(int i=0; i<2; i++){
- num=random(1,10);
1