Having problems installing Drupal? See the Installation Guide for more information.

Unsupported database type

After installing I get this when I point my browser to index.php:

Unsupported database type

The database on my server is MySQL 4.1.13

I know others have posted about this same problem, but I don't see any usefull solutions.

Where is my Drupal site? What should I point my browser to?

I uploaded the Drupal files to folder called 'drpl' on the server.

I inserted the tables in the database.

I inserted the database access details in the 'settings.php' file. It looks something like this:

 * Database URL format:
 * $db_url = 'mysql://mydatabase:mypassword@localhost/mydatabase';
 
/**
 * Base URL:
 *
 * The URL of your website's main page. It is not allowed to have
 * a trailing slash; Drupal will add it for you.
 */
$base_url = 'http://www.mywebsite.com/drpl';

Now what?

"Unable to Select Database" error

I have searched and RTFineM.
If I change anything in the name of the database to make it wrong in settings.php on the

$db_url = 'mysql://me:337nA@mysite.com/dru1';

line I still get the "Unable to Select Database" error.
If I make anything in either user or password wrong I get a

Warning: mysql_connect(): Access denied for user:

error.
If I make anything in the Localhost name wrong I get

Warning: mysql_connect(): Unknown MySQL Server Host.

Drupal 4.6.3 on FreeBSD5.3/Apache2.0.54/Php5.0.5 Install Mostly worked

I get messages like this one from .../drupal/?q=admin/themes/settings/bluemarine or trying to configure any of the other themes.

Fatal error: Only variables can be passed by reference in /usr/local/services/www/wikarekare/drupal/modules/system.module on line 649

I also got similar ones from modules I have added
e.g. drupal/?q=admin/theme_editor

Fatal error: Only variables can be passed by reference in /usr/local/services/www/wikarekare/drupal/modules/theme_editor.module on line

Access Denied in query: Lock Tables

I just made a new install of Drupal 4.6.3 and started getting the following error right away:

Access denied for user: 'kohala@localhost' to database 'kohalaaction_org' query: LOCK TABLES sequences WRITE in /home2/kohala/kohalaaction-www/communityvoices/includes/database.mysql.inc on line 66.

I toggled the show error on page/log so at least it no longer crashes the page, but I am worried that it will cause some long term problem.

Everything else seems to work just fine. Should I just ignore this or try to track down the cause.

About to give up using Drupal, any last words of advise?

Well, I have been trying to get php code working inside blocks and stories on a test Drupal site with no luck. The php code was initially erroring and now it's just ignored and no error message given. Everything else on my test site works fine within Drupal except this. I have searched for anyone with a similar problem, but found nothing. My initial post on this yielded little help from the community :( I don't know what else to do. Anyone have any suggestions?

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal