For problems and solutions related to database compatibility.

DB import into existing DB

Hello , I created a drupal site locally and uploaded it to my server. I dumped the local Db and imported to the Db on the server. That worked fine. I did some more updates locally, uploaded the files and then went to import the DB but received an error: #1050 - Table 'access' already exists

Is it not possible to import new changes to an existing? Not sure what the prob is.

regards,
Steve

retrieve username for table entry

I'm trying to create a time sheet database. My problem: I'm an absolute multi-user database beginner.
Let's say 30 people are supposed to enter their data through an online form. Does the data go to a single table or to user specific sub-tables?
If the data ends up in one big table, then I must have the user name (login) in one of the colums to sort the data later.
Is there a general variable for the username in drupal? And if, how do I post it to a mysql table? i'd be grateful for your support, hike

Problems with User Points module

hi

I am trying to use User Points module to retroactively give points. Got the following errors. Please help.

Thanks
drupalian

* user warning: Column count doesn't match value count at row 1 query: INSERT INTO userpoints VALUES (1, 0, 1175381781) in /home/.mewsette/asha_admin/hangoutwith.com/includes/database.mysql.inc on line 172.
* user warning: Column count doesn't match value count at row 1 query: INSERT INTO userpoints VALUES (2, 0, 1175381780) in /home/.mewsette/asha_admin/hangoutwith.com/includes/database.mysql.inc on line 172.
* user warning: Column count doesn't match value count at row 1 query: INSERT INTO userpoints VALUES (3, 0, 1175381780) in /home/.mewsette/asha_admin/hangoutwith.com/includes/database.mysql.inc on line 172.
* user warning: Column count doesn't match value count at row 1 query: INSERT INTO userpoints VALUES (4, 0, 1175381780) in /home/.mewsette/asha_admin/hangoutwith.com/includes/database.mysql.inc on line 172.
* user warning: Column count doesn't match value count at row 1 query: INSERT INTO userpoints VALUES (5, 0, 1175381780) in /home/.mewsette/asha_admin/hangoutwith.com/includes/database.mysql.inc on line 172.

Drupal India Community Link is Not Accessible It Gives Error.

Hello Community,

I am new to this group but i found some problem in Drupal community page.

In this page there is a problem in Drupal India Community Link. It gives error when you click on it.

Hear is the link of that.

http://drupal.org/community

goto bottom of the page and click on the Drupal India. It gives you an error.

So please resolve that.

Thanx,

Sulay(INDIA)

Newbie Need Help with database

Hi guys

I need help. First of all, I am a newbie with drupal so please bear with me.
I'm trying to redesign my site. I decided that drupal is my best option for my new e-commerce site.
The problem is : how can I migrate my old database which is SQL 2000 to MySQL ?
OR should I just keep using SQL 2000 to avoid a complicated settings?
If i decided to keep using SQL 2000, what should I do next?
Thank you so much in advance.....

HOWTO: abstracted DB table names

I've noticed that some modules seem to abstract the names of the DB tables by using brackets, for example in user.module:

SELECT * FROM {users} ....
or
SELECT r.rid, r.name FROM {role} ....

How do these get translated into the actual table names? When setting up new tables for my own modules, how can I do the same?

Instead of: SELECT * from mymoduletable ...
Use: SELECT * from {mymoduletable} where it may or may not have a table prefix.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Database compatibility