Hi
I am trying to use processing to write in a external SQL database using the SQLibrary by Florian Jenett.
I manage to load information FROM mysql TO Processing using the built in exemples but the opposite seems impossible
I am trying to use processing to write in a external SQL database using the SQLibrary by Florian Jenett.
I manage to load information FROM mysql TO Processing using the built in exemples but the opposite seems impossible
- void setup()
{
dbconnection = new MySQL( this, "host:port", database, user, pass );
if ( dbconnection.connect() )
{
dbconnection.query( "INSERT INTO `database`.`table` (`message`) VALUES ('newmessage'); " );
}
else
{
// connection failed !
}
}
1