I'm asking myself about how to access to a distant mysql database.I dont really understand samples where you find something like that using namefile.db :
Code: Select all
//Session ses(SessionFactory::instance().create(connector, [b]connectionString[/b]));
Session ses("SQLite", "dummy.db");
I need to know how and where i should put database' parameters like : password, user,database name etc.. Should they be put in the connectionString variable ? if yes, how please ?
Should I use something else than Session object ? Thank you, I need an example please ..