国产又粗又猛又大的视频在线播放_精品国产一区二区日韩91_日韩成人成色在线观看_日韩毛片一二三区_打扑克牌又疼又叫软件下载_欧美激情综合色综合啪啪五月_国产精品激情自拍系列_麻豆国产在线视频_fc2成人免费人成在线观看播放_那里可以免费看毛片

跳轉(zhuǎn)到主要內(nèi)容

XAMPP PDO Mysql server連接配置

故障描述
  xampp安裝drupal 7.1時(shí),提示出下錯(cuò)誤: * Warning: PDO::__construct(): [2002] Invalid argument (trying to connect via unix://) in DatabaseConnection->__construct() (line 286 of /opt/lampp/htdocs/drupal/drupal7/includes/database/database.inc). * In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider. Failed to connect to your MySQL database server. MySQL reports the following message: SQLSTATE[HY000] [2002] Invalid argument. o Are you sure you have the correct username and password? o Are you sure that you have typed the correct database hostname? o Are you sure that the database server is running? For more help, see the installation handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
故障分析
  無
處理過程
  修改php.ini 找到pdo_mysql.default_socket= 修改成如下即可。 pdo_mysql.default_socket=/opt/lampp/var/mysql/mysql.sock
建議/總結(jié)
  無