rpm -qa|grep -i mysql
mysqlshow -u root
app писал(а):Предлагаю посмотреть доступность mysql и базы данных на нем.
DeS писал(а):app писал(а):Предлагаю посмотреть доступность mysql и базы данных на нем.
Первая команда выдает какую-то информацию в двух строчках, похоже mysql установлен. А вот вторая команда выдает ошибку: mysqlshow: command not found
mysqladmin -u root create ananas_inventory_demo
mysql -u root ananas_inventory_demo < inventory-demo.sql
[root@localhost ananas-qt4]# make
cd src && qmake && make
make[1]: Entering directory `/usr/src/ananas-qt4/src'
cd lib/ && /usr/lib/qt4/bin/qmake lib.pro -unix -o Makefile
cd lib/ && make -f Makefile
make[2]: Entering directory `/usr/src/ananas-qt4/src/lib'
/usr/lib/qt4/bin/uic dialogs/deditrc.ui -o .ui/ui_deditrc.h
/usr/lib/qt4/bin/uic dialogs/dhelpcfgform.ui -o .ui/ui_dhelpcfgform.h
/usr/lib/qt4/bin/uic dialogs/dlogin.ui -o .ui/ui_dlogin.h
/usr/lib/qt4/bin/uic dialogs/dselectdb.ui -o .ui/ui_dselectdb.h
g++ -c -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../share/qt4/mkspecs/linux-g++ -I. -I../../../../include/qt4/QtDesigner -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtSql -I../../../../include/qt4/QtSql -I../../../../include/qt4/Qt3Support -I../../../../include/qt4/Qt3Support -I../../../../include/qt4/QtScript -I../../../../include/qt4/QtScript -I../../../../include/qt4 -I../plugins/actionbutton -I../plugins/catalogue -I../plugins/combobox -I../plugins/dbfield -I../plugins/dbtable -I../plugins/document -I../plugins/field -I../plugins/grouptree -I../plugins/journal -I../plugins/report -I../plugins/table -I../lib/metadata -I../lib/dialogs -I../lib/objects -I../lib/widgets -I../lib/report -I../lib/sys -I../../lib/metadata -I../../lib/dialogs -I../../lib/objects -I../../lib/widgets -I../../lib/report -I../../lib/sys -I../lib -I../plugins -I.ui -I../lib -I../../lib -I../../plugins -I../plugins -I../lib/.ui -I../../lib/.ui -I/usr/lib/qt3//include/qdataschema -I.moc -I.ui -o .obj/acfg.o acfg.cpp
acfg.cpp: In member function ‘void aCfg::setBinary(QDomElement, const QByteArray&, const QString&)’:
acfg.cpp:870: warning: comparison between signed and unsigned integer expressions
g++ -c -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../share/qt4/mkspecs/linux-g++ -I. -I../../../../include/qt4/QtDesigner -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtSql -I../../../../include/qt4/QtSql -I../../../../include/qt4/Qt3Support -I../../../../include/qt4/Qt3Support -I../../../../include/qt4/QtScript -I../../../../include/qt4/QtScript -I../../../../include/qt4 -I../plugins/actionbutton -I../plugins/catalogue -I../plugins/combobox -I../plugins/dbfield -I../plugins/dbtable -I../plugins/document -I../plugins/field -I../plugins/grouptree -I../plugins/journal -I../plugins/report -I../plugins/table -I../lib/metadata -I../lib/dialogs -I../lib/objects -I../lib/widgets -I../lib/report -I../lib/sys -I../../lib/metadata -I../../lib/dialogs -I../../lib/objects -I../../lib/widgets -I../../lib/report -I../../lib/sys -I../lib -I../plugins -I.ui -I../lib -I../../lib -I../../plugins -I../plugins -I../lib/.ui -I../../lib/.ui -I/usr/lib/qt3//include/qdataschema -I.moc -I.ui -o .obj/acfgrc.o acfgrc.cpp
acfgrc.cpp: In function ‘void aMessageOutput(QtMsgType, const char*)’:
acfgrc.cpp:58: warning: enumeration value ‘QtCriticalMsg’ not handled in switch
acfgrc.cpp:58: warning: enumeration value ‘QtSystemMsg’ not handled in switch
g++ -c -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../share/qt4/mkspecs/linux-g++ -I. -I../../../../include/qt4/QtDesigner -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtXml -I../../../../include/qt4/QtSql -I../../../../include/qt4/QtSql -I../../../../include/qt4/Qt3Support -I../../../../include/qt4/Qt3Support -I../../../../include/qt4/QtScript -I../../../../include/qt4/QtScript -I../../../../include/qt4 -I../plugins/actionbutton -I../plugins/catalogue -I../plugins/combobox -I../plugins/dbfield -I../plugins/dbtable -I../plugins/document -I../plugins/field -I../plugins/grouptree -I../plugins/journal -I../plugins/report -I../plugins/table -I../lib/metadata -I../lib/dialogs -I../lib/objects -I../lib/widgets -I../lib/report -I../lib/sys -I../../lib/metadata -I../../lib/dialogs -I../../lib/objects -I../../lib/widgets -I../../lib/report -I../../lib/sys -I../lib -I../plugins -I.ui -I../lib -I../../lib -I../../plugins -I../plugins -I../lib/.ui -I../../lib/.ui -I/usr/lib/qt3//include/qdataschema -I.moc -I.ui -o .obj/acmanifest.o acmanifest.cpp
In file included from /usr/lib/qt3//include/qdataschema/qdataschema.h:32,
from ../lib/sys/adatabase.h:42,
from ananas.h:94,
from acmanifest.h:36,
from acmanifest.cpp:32:
/usr/lib/qt3//include/qdataschema/qdataschemaglobal.h:96:1: warning: "qApp" redefined
In file included from ../../../../include/qt4/Qt/QtCore:50,
from /usr/lib/qt3//include/qdataschema/qdataschemaglobal.h:90,
from /usr/lib/qt3//include/qdataschema/qdataschema.h:32,
from ../lib/sys/adatabase.h:42,
from ananas.h:94,
from acmanifest.h:36,
from acmanifest.cpp:32:
../../../../include/qt4/Qt/qcoreapplication.h:71:1: warning: this is the location of the previous definition
In file included from ananas.h:98,
from acmanifest.h:36,
from acmanifest.cpp:32:
../plugins/aform.h:40:23: error: qsproject.h: No such file or directory
../plugins/aform.h:41:27: error: qsinterpreter.h: No such file or directory
In file included from ../plugins/aform.h:47,
from ananas.h:98,
from acmanifest.h:36,
from acmanifest.cpp:32:
../plugins/engine.h:36:29: error: qsobjectfactory.h: No such file or directory
../plugins/engine.h:66: error: expected class-name before ‘{’ token
../plugins/engine.h:142: error: ‘QSProject’ does not name a type
acmanifest.cpp:132: warning: unused parameter ‘fname’
make[2]: *** [.obj/acmanifest.o] Error 1
make[2]: Leaving directory `/usr/src/ananas-qt4/src/lib'
make[1]: *** [sub-lib-make_default] Error 2
make[1]: Leaving directory `/usr/src/ananas-qt4/src'
make: *** [all] Error 2
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 5