Revision b7febc83 src/sql/MySqlDB.cc

View differences:

src/sql/MySqlDB.cc
44 44

  
45 45
    // Connect to the server
46 46
    if (!mysql_real_connect(db, server.c_str(), user.c_str(),
47
                            password.c_str(), database.c_str(), port, NULL, 0))
47
                            password.c_str(), 0, port, NULL, 0))
48 48
    {
49 49
        throw runtime_error("Could not open database.");
50 50
    }

Also available in: Unified diff