Log in

View Full Version : is my database full?



liamallan
03-11-2010, 09:31 PM
i have a users database with 13 registered users, but now when anyone tries to register, it fails. i created another user table and connected the script to it and register works on an empty database. so does this mean the original database is full? if so, is there a way i could connect to multiple databases?

BLiZZaRD
03-11-2010, 09:38 PM
It depends on your hosting providers set up and limits.

A lot depends on number of connections allowed per hour, etc.

Why do you need so many users for one database though?

liamallan
03-11-2010, 09:50 PM
its a website registration so only registered users can see site content. could i use multiple databases for the one script?

BLiZZaRD
03-11-2010, 10:11 PM
If you wanted, but you can also use one connection for all the users.

Unless they are perhaps browsing around in your database for some reason? If you are just storing/retrieving the log in info, then you only need one database user. (like forum software does).

liamallan
03-11-2010, 10:25 PM
yeah, its only for storing/retrieving their info. is there any way i could get round this?

BLiZZaRD
03-11-2010, 10:35 PM
Yeah.. have one user account for your database. one password.

When the users log in, have the php connect to the database using that one log in name and password.

Problem solved. :)

The info retrieved will be based on their log in credentials. so mary wont see jacks stuff, etc.