hello all!

i've got a problem with connecting to a mysql database.

i call
Qt Code:
  1. QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
  2.  
  3. db.setHostName("127.0.0.1");
  4. db.setDatabaseName("blabla");
  5. db.setUserName("root");
  6. db.setPassword("1234567");
  7. db.setPort(3007);
  8. bool ok = db.open();
  9. if(!ok)
  10. QMessageBox::information(0,
  11. tr("Datenbankfehler"),
  12. sksdatabase.lastError().text());
To copy to clipboard, switch view to plain text mode 

but i get this error:quote:
Cannot Connect to MySQL Server on 127.0.0.1(10061) QMYSQL:unable to connect
the server is set up with my parameters, what can i do?