ubuntu install mysql driver Shell代碼 sudo sudo apt-get install libmysqlcppconn-dev libmysqlclient-dev libmysql++-dev www.2cto.com Shell代碼 socol@ubuntu:~/Downloads$ dpkg -L libmysqlcppconn-dev /. /usr /usr/share /usr/share/doc /usr/share/doc/libmysqlcppconn-dev /usr/share/doc/libmysqlcppconn-dev/copyright /usr/lib /usr/lib/libmysqlcppconn-static.a /usr/include /usr/include/mysql_driver.h /usr/include/cppconn /usr/include/cppconn/warning.h /usr/include/cppconn/exception.h /usr/include/cppconn/sqlstring.h /usr/include/cppconn/datatype.h /usr/include/cppconn/connection.h /usr/include/cppconn/driver.h /usr/include/cppconn/config.h /usr/include/cppconn/metadata.h /usr/include/cppconn/prepared_statement.h /usr/include/cppconn/resultset.h /usr/include/cppconn/resultset_metadata.h /usr/include/cppconn/build_config.h /usr/include/cppconn/statement.h /usr/include/cppconn/parameter_metadata.h /usr/include/mysql_connection.h /usr/share/doc/libmysqlcppconn-dev/changelog.Debian.gz /usr/lib/libmysqlcppconn.a /usr/lib/libmysqlcppconn.so Shell代碼 socol@ubuntu:~/Downloads$ dpkg -L libmysql++-dev /. /usr /usr/lib /usr/lib/libmysqlpp.a /usr/include /usr/include/mysql++ /usr/include/mysql++/autoflag.h /usr/include/mysql++/beemutex.h /usr/include/mysql++/cmdline.h /usr/include/mysql++/common.h /usr/include/mysql++/comparable.h /usr/include/mysql++/connection.h /usr/include/mysql++/cpool.h /usr/include/mysql++/datetime.h /usr/include/mysql++/dbdriver.h /usr/include/mysql++/exceptions.h /usr/include/mysql++/field.h /usr/include/mysql++/field_names.h /usr/include/mysql++/field_types.h /usr/include/mysql++/insertpolicy.h /usr/include/mysql++/manip.h /usr/include/mysql++/myset.h /usr/include/mysql++/mysql++.h /usr/include/mysql++/mystring.h /usr/include/mysql++/noexceptions.h /usr/include/mysql++/null.h /usr/include/mysql++/options.h /usr/include/mysql++/qparms.h /usr/include/mysql++/query.h /usr/include/mysql++/querydef.h /usr/include/mysql++/refcounted.h /usr/include/mysql++/result.h /usr/include/mysql++/row.h /usr/include/mysql++/scopedconnection.h /usr/include/mysql++/sql_buffer.h /usr/include/mysql++/sql_types.h /usr/include/mysql++/sqlstream.h /usr/include/mysql++/ssqls.h /usr/include/mysql++/ssqls2.h /usr/include/mysql++/stadapter.h /usr/include/mysql++/stream2string.h /usr/include/mysql++/tcp_connection.h /usr/include/mysql++/tiny_int.h /usr/include/mysql++/transaction.h /usr/include/mysql++/type_info.h /usr/include/mysql++/uds_connection.h /usr/include/mysql++/utility.h /usr/include/mysql++/vallist.h /usr/include/mysql++/wnp_connection.h /usr/share /usr/share/doc /usr/share/doc/libmysql++-dev /usr/share/doc/libmysql++-dev/copyright /usr/share/doc/libmysql++-dev/README.txt.gz /usr/lib/libmysqlpp.so /usr/share/doc/libmysql++-dev/changelog.Debian.gz