Community & Support

Install Drupal Problem on LocalHost

This is my computer configuration:
1. windows: XP Profesional
2. Apache, PHP, and MySql: AppServ 2.5.10
3. user & password to login mysql "root" and "aceps" (example)

This is my step to try install drupal:
1. download new version from drupal.org (6.3)
2. extract to local host directory
3. make database "mydrupal" from phpmyadmin
4. run in the phpmyadmin : GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , ALTER ON mydrupal.* TO 'root'@'localhost' IDENTIFIED BY 'aceps';
5. In the file .../site/default/settings.php, I set line $db_url to $db_url = 'mysql://root:aceps@localhost/mydrupal';
6. I try to run with http://localhost/drupal/, and show error like below:

Warning: Table 'drupal.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in C:\AppServ\www\drupal\includes\database.mysql.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\drupal\includes\database.mysql.inc:128) in C:\AppServ\www\drupal\includes\bootstrap.inc on line 981

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\drupal\includes\database.mysql.inc:128) in C:\AppServ\www\drupal\includes\bootstrap.inc on line 981

Warning: Table 'drupal.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in C:\AppServ\www\drupal\includes\database.mysql.inc on line 128

Warning: Table 'drupal.variable' doesn't exist query: SELECT * FROM variable in C:\AppServ\www\drupal\includes\database.mysql.inc on line 128

Warning: Table 'drupal.cache' doesn't exist query: UPDATE cache SET data = '', created = 1217216123, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in C:\AppServ\www\drupal\includes\database.mysql.inc on line 128

Warning: Table 'drupal.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in C:\AppServ\www\drupal\includes\database.mysql.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\drupal\includes\database.mysql.inc:128) in C:\AppServ\www\drupal\includes\bootstrap.inc on line 582

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\drupal\includes\database.mysql.inc:128) in C:\AppServ\www\drupal\includes\bootstrap.inc on line 583

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\drupal\includes\database.mysql.inc:128) in C:\AppServ\www\drupal\includes\bootstrap.inc on line 584

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\drupal\includes\database.mysql.inc:128) in C:\AppServ\www\drupal\includes\bootstrap.inc on line 585

Warning: Table 'drupal.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in C:\AppServ\www\drupal\includes\database.mysql.inc on line 128

Can someone help me?

Comments

You should not have set the

You should not have set the $db_url in settings.php. That makes Drupal consider itself already installed and it tries to run without creating the database tables.

You should supply the database information to the installation program.

Or leave the $db_url which you have set and try http://localhost/drupal/install.php (I don't remember if this works in Drupal 6).