mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
reference: GuiWebCrawler
git-svn-id: svn://ultimatepp.org/upp/trunk@4792 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9ba808013f
commit
994ab898db
5 changed files with 178 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue