我不能安装Python-MySQL,我已经用easy_install,pip和源码尝试过了。我总是得到同样的错误。这是我得到的:Searching for MySQL-python
Reading/packages/source/M/MySQL-python/MySQL-python- 1.2.5.zi
start mariadb.servicesystemctl start mysqlFailed to start mysql.service: Unit mysql.service not found.Failed to enable已安装mariadb-server:
dnf install mariadb-server Package
我安装了MySQL版的MySQL 5.5.27 (来自.dmg)。现在我尝试安装mysql gem:Building native extensions. This could take a while...for mysql_query() in -lmysqlclient... nochecking for mysql_query
尝试在带有rpm的mysql2 5.6的CentOS 6.4 x64上安装MySQL gem。得到这个: Gem::Installer::ExtensionBuildError: ERROR: Failed to build/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11 for inspection.Results logged to /