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 
Need Help Installation!! I am running out of options...  XML
Forum Index » Support Forum
Author Message
Anonymous



I really like the advanced poll script, but I cannot get it to work even after reading the postings in this forum. This suppose to be simple...but something is wrong. Here are the steps I have taken:

-Changed the config.inc.php file:

$POLLDB["dbName"] = "Polldb";
$POLLDB["host"] = "mydomain.com";
$POLLDB["user"] = "db user name";
$POLLDB["pass"] = "db password";


-I obviously upload the changed file back into the include (file folder), and proceed to install.

-I also check that the database I created using the control panel at my webhosting company matches the information I included in the config.inc.php file.

-After running the installation step...i get this error...I do not get it since the password I included is the same...


Warning: mysql_create_db(): Access denied for user: 'mydomainname@localhost' (Using password: NO) in /home/www/mydomainname/poll/db/install.php on line 668

Warning: mysql_create_db(): A link to the server could not be established in /home/www/mydomainname/poll/db/install.php on line 668

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/www/mydomainname/poll/db/include/class_mysql.php on line 32
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 2013 Lost connection to MySQL server during query
Date : Sat, February 5, 2005 15:45:29
IP : 70.112.3.114
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media Center PC 3.0; .NET CLR 1.0.3705)
Referer :
PHP Version : 4.3.4
OS : Linux
Server : Apache
Server Name : www.mydomainname.com
Script Name : /cgi-bin/php

I need your help, as I love this script but I cannot seem to install it. Thanks, JC
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

J.C. wrote:

-Changed the config.inc.php file:

$POLLDB["dbName"] = "Polldb";
$POLLDB["host"] = "mydomain.com";
$POLLDB["user"] = "db user name";
$POLLDB["pass"] = "db password";


Warning: mysql_create_db(): Access denied for user: 'mydomainname@localhost' (Using password: NO) in /home/www/mydomainname/poll/db/install.php on line 668

Warning: mysql_create_db(): A link to the server could not be established in /home/www/mydomainname/poll/db/install.php on line 668

Warning: mysql_connect(): Lost connection to MySQL server during query in /home/www/mydomainname/poll/db/include/class_mysql.php on line 32
Connection Error


Essentially - in a nutshell - you are not addressing the database with the correct information.

IF you have it like this and not the actual information that the database needs, it will not function - I don't know by this whether you actually have it edited it - but don't want to force you to put the info in for security reasons, either - Make certain to have the 'Polldb' exactly the way it shows up in the phpMyAdmin or in your list of tables.

For mydomain.com - sometimes you can get by with using the word 'localhost' for 'mydomain.com' or the server_addr might also be an option.

Make certain to have the correct account id for 'db user name' usually the id you use for logging into your Cpanel unless you created a special db user name and assigned that to the database.

- And of course, the password (either the one for logging into your Cpanel - or - the one you assigned in the database when it was created.)

---------------
Anonymous



Yes, i disguised the information. However, by changing the "host" to "localhost" did the trick. Thank you so much!!!!!!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum