simon Posted March 28, 2004 Posted March 28, 2004 Hi, I have two scripts which I have installed half a dozen times (IOW I know what I am doing), to-day I have installed them on a new sites. I cannot get the connection to localhost. When I call the controlpanel of that URL (I am a reseller), I have problem getting to the phpAdmin, I need to refresh three times to get there. Could the two problems be related ? Any suggestions to sort things out ? Thanks simon Quote
HCSuperStores Posted March 28, 2004 Posted March 28, 2004 Hi, I know that some people have encountered cookie issues, especially if you are using phpMyAdmin on 2 different hosting accounts during a transfer. The problem seemed to go away when they deleted their cookies. Good luck. If this doesn't work, just add to this post and I'm sure others will comment. Quote
simon Posted March 30, 2004 Author Posted March 30, 2004 I am trying to install scripts I have installed before without any problems (in other words, been there, done it, etc.). I cannot get a connection to localhost. I am a reseller, so I set up the domain. Is there any way I could have done something wrong in setting up the domain ? I have already defined the database tables, without a problem. I have problems getting to phpAdmin. The other websites I run do not have the same issues. I tried installing the same scripts in another website and they work without a problem. I am a bit confused, can anybody help ? Thanks Simon Quote
TCH-Dick Posted March 30, 2004 Posted March 30, 2004 (edited) Merged Identical Posts, No Need to Double Post Could the two problems be related ? Maybe? How about a little more information, what scripts are you trying to install? Give us an example of the information you used to try to connect. If you are still having trouble with phpAdmin, then submit a ticket to the help desk. Edited March 30, 2004 by TCH-Dick Quote
borfast Posted March 30, 2004 Posted March 30, 2004 Simon, what exactly is the problem? What error messages do you get, when do you get them, what software are you trying to install... give us a bit more info so we can try to help you. Quote
simon Posted March 30, 2004 Author Posted March 30, 2004 There seem to be two separate problems : 1) When I am in the control panel and I try to access phpAdmin I get the "cannot find server" message. 2) I am trying to install AnnounceMail. I set up the database, run setup.php and what I get is 0:localhost can't continue. The table is not created inside the database and announcemail does not work. I have successfully installed AnnounceMail in other websites and it worked without a problem. 3) I am also trying to install sendcard (an e-card script that I have used several times) Warning: mysql_connect(): Access denied for user: 'usecards@localhost' (Using password: YES) in /home/jamesc/public_html/sendcard/include/db_mysql.php on line 73 Database error: connect(localhost, usecards, $Password) failed. MySQL Error: () again I have installed this script other times without a problem. It looks as if I am unable to connect to 'localhost' for whatever reason. Could it be the way I set up the domain name (again, I have done it over 20 times so one would think I should know how to do it by now !) Can anybody shed some light ? Simon Quote
borfast Posted March 31, 2004 Posted March 31, 2004 Well, the first error message is strange. I suggest you submit a help desk ticket so one of the techs can have a look at the problem. About the database, are you using the correct database names and user names? Database names should be in the form <cpanel username>_<database name> And user names should be in the form <cpanel username>_<database username> Quote
borfast Posted April 1, 2004 Posted April 1, 2004 (edited) Well, perhaps all of the errors are connected to some problem with the database... but I find it strange, because if it was a big problem with the MySQL server, other customers on the same server as you are would have complained about it too. You mentioned something about the way you set up your domain name - how did you set it up? Edited April 1, 2004 by TCH-Raul Quote
simon Posted April 2, 2004 Author Posted April 2, 2004 Raul, I agree that it all looks bizarre. I sorted all the obvious reasons so I am now trying to think laterally. I set up over 25 domains through my reseller's account. So I think I would now by now I use 'packages', I just checked and the package comes with 'unlimited' databases so I should be fine. I installed frontpage extensions and I did everything 'as usual'. I do not know what to think. I posted a support ticket and it seems to be working fine at your end, I tried again using a different browser and a different machine (netscape on a mac) and it still does not work. I am now completely confused Simon Quote
MikeJ Posted April 2, 2004 Posted April 2, 2004 (edited) Warning: mysql_connect(): Access denied for user: 'usecards@localhost' (Using password: YES) in /home/jamesc/public_html/sendcard/include/db_mysql.php on line 73Database error: connect(localhost, usecards, $Password) failed. MySQL Error: () That's a problem right there. "usecards" wouldn't be a valid sql user. It should be something like "jamesc_usecards". Edited April 2, 2004 by TCH-MikeJ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.