Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
QSqlDatabase: QMYSQL driver not loadedQSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QPSQL QPSQL7QSqlQuery::exec: database not open
SqlDatabase db=QSqlDatabase::addDatabase("QMYSQL");db.setHostName("localhost");db.setUserName("root");db.setDatabaseName("mybd");db.open();
Баян. https://forum.ubuntu.ru/index.php?topic=236688.0
Подключается ли так: mysql -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 50Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu)Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Страница сгенерирована за 0.044 секунд. Запросов: 25.