2014-01-13 165 views
0

當我由Drupal的安裝新的網站,我顯示此消息: -的Drupal:更改數據庫的默認類型

The type of database your Drupal data will be stored in. Your PHP 
configuration only supports a single database type, so it has been 
automatically selected. 

我需要添加數據庫名和用戶名和密碼,但我不能看到它,我在哪裏可以添加它。

它表明我這個錯誤: -

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. 

回答

0

您獲得有關係統的支持只是一個單一的數據庫類型的消息,因爲Drupal的不能在你的系統中找到所需的擴展連接到數據庫。在這種情況下,Drupal假定你將使用Sqlite數據庫,並且它應該詢問你一個數據庫文件名,沒有用戶名或密碼。如果你甚至沒有看到這個選項,可能你的系統根本不支持任何數據庫。

如果您想使用數據庫服務器(MySql或postgres),您至少需要安裝在您的系統上的php-pdo,php-mysql(或php-pgsql,如果您使用postgres)。你如何安裝這些php擴展取決於你的系統。

相關問題