If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanded Poll v.2.03 - Cannot connect to mysql database  XML
Forum Index » Support Forum
Author Message
Anonymous



I created a new database, and then added user to the database and give the user full persmissions.

Note that this user was already created, as the user is already a user of another database, actually a PHPBB forum.

I edited the config.inc.php as described, but I start the install I get a "Cannot connect to mysql database" after I click "Next" and "Yes".

Any ideas?
Anonymous



Maybe I should add that I chose the PHP/MySQL version, and all the files are in a "poll" folder, and am I correct to understand that I do NOT need to change permissions on any files?
Anonymous



Hmm, I just wrote a small test script trying to connect to the database, and that won't work either.
Anonymous



Sorry stuppid mistake, username was case sensitive
Anonymous



Ok, so far so good. It all works nicely.

However my website has many pages, that each need a separate poll and comments. Plus these pages are almost added daily.

I am a newbie to PHP, so I wanted to see if somebody could put me in the right direction.

When ever soembody visits the page, I want to test for the poll. Each page already is identified with an ID number, so I could use this number to check for the ID. I guess I would have to change the database from autonumber to number, yes?

If the poll does not exist, I want create it on the fly, since it is always the same questions, color, and options, with the known ID.

Finally display this poll, this I already know how to do

Any help is highly appreciated, thanks!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum