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

Create a MySQL database

Hi.
Do you know how to create a MySQL database?
I have cPanel & PhpMyAdmin.
Thanks.

watchdog error: Can't creat/write to file /tmp#sql_????_?.MYD (Errorcode: 9)

When logging in or out I often (not always) get this error being logged by the watchdog module:

index 137 Query INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (0, 'php', 'Can\'t cre
ate/write to file \'/tmp/#sql_6768_0.MYD\' (Errcode: 9)
query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid INNER JOIN users_roles ur ON ur.rid = r.rid WHERE ur.uid = 0 in /vol3/
www/htdocs/main/includes/database.mysql.inc on line 66.', 2, '', '/main/?q=forum/3&sort=asc&order=Created', '66.249.65.140', 1127535663)
137 Query UPDATE sessions SET uid = 0, hostname = '66.249.65.140', session = 'messages|a:0:{}', timestamp = 1127535663 WHERE sid
= '81910d13efc55a2406ba63be494cd10d'
137 Quit

I cannot find any corresponding MySQL error in my logs. The above is simply watchdog logging an error it is finding somewhere and recording it into the database.

Although the file exists and the permissions look fine:

# ls -alh /tmp
total 8
-rw-rw---- 1 _mysql wheel 0B Sep 24 00:23 #sql_6768_0.MYD

This problem is driving me crazy. I think it is causing another problem. Sometimes my frontpage (module) shows "Access denied" even though my Access Control is open for all visitors. Drupal seems to be losing track of who is logged in and so it has trouble assigning access control.

Problem with forums

Hi,

I have created new site using Drupal.

I have enabled the Forum, and added categories.

I can't seem to work out why new articles and discussions are not showing up.

Can anyone answer the question.

Please see www.pngair.com

Drupal is great.

Thanks

PNGAir

problem with running drupal on local server easyPHP1.8

Hi

I wanted to test Drupal on my computer
I installed easyPHP 1.8, downloaded the drupal files and installed them in the right folder (i tried also with joomla and it works fine)
When i try to open the index page, i get this message

Warning: mysql_connect(): Accès refusé pour l'utilisateur: 'username'@'@localhost' (mot de passe: OUI) in c:\program files\easyphp1-8\www\drupal\includes\database.mysql.inc on line 31
Accès refusé pour l'utilisateur: 'username'@'@localhost' (mot de passe: OUI)

File does not exist: /var/www/html/drupal/system

I installed a fresh copy of Drupal 4.6.3 to test and see if it was a better solution for us than Mambo/Joomla. I am getting an error in my log that I would like to clear up. I found a few other similar posts but no solutions.

Everytime I go to administer--> Settings A message gets parsed to my /var/log/httpd/error_log

[Fri Sep 23 15:16:01 2005] [error] [client 1.2.3.4] File does not exist: /var/www/html/drupal/system, referer: http://1.2.3.4/drupal/?q=admin/settings

SQL error

here is what I get when I go to the url, Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'username@localhost' (Using password: YES) in /home/numb3rs/public_html/dp/includes/database.mysql.inc on line 31
Access denied for user: 'username@localhost' (Using password: YES)

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal