reference: GuiWebCrawler

git-svn-id: svn://ultimatepp.org/upp/trunk@4792 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-04-16 16:14:15 +00:00
parent 9ba808013f
commit 994ab898db
5 changed files with 178 additions and 2 deletions

View file

@ -12,7 +12,7 @@ CONSOLE_APP_MAIN
{
MySqlSession session;
// edit the connection parameters if necessary
if(session.Connect("root", "koblih", "test")) {
if(session.Connect("root", "Passw0rd", "test")) {
Cout() << "Connected\n";
SQL = session;
@ -43,5 +43,4 @@ CONSOLE_APP_MAIN
Cerr() <<"ERROR: Unable to connect to database\n";
SetExitCode(1);
}
SetExitCode(0);
}