Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
fontemot
fontemot's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Using processing to write in a external SQL database
[2 Replies]
23-Nov-2010 09:11 AM
Forum:
Contributed Library Questions
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
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 !
}
}
The user has the necessary rights to write into the database
so I dont see why this is not working..
«Prev
Next »
Moderate user : fontemot
Forum