my main datastream is an text stream. I want to retrieve a email stored in a data based on the Customer ID field (extracted in previous step). This information is stored in a MySQL database present on the MySql Server Connect.
I can not connect to this external database from DataMapper because I do not know the syntax of the command db.connect (string, string, string). Can you give me an example of the expected syntax for connecting to local mysql database ?
I tried more syntax like: var cnxn = db.connect(“localhost/database”,“user”,“password”);
but without success