PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > MySQL
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-15-04, 03:32 PM   #1
SuwaneeRiver
 
Posts: n/a
New MySQL DB giving 1045 error

Problem: Getting 1045 on new MySQL DB from phpmyadmin access.

Sucessfully activated MySQL, created DB and user/password pair. Admin page shows: "Your mySQL database <name> is hosted on PowWeb's server mysql03.powweb.com"

Here <name> is DB name I gave.

Admin page shows user name with Y in all privileges fields.

Followed link from admin page to http://phpmyadmin.powweb.com/?server=52 to phpmyadmin login page with username text box and server choice drop down set correctly.

Input password and submit, get: "#1045 - Access denied for user: '<user> @<IP address>' (Using password: YES)"

Here <user> and <IP address> stand for the actual strings.

phpmyadmin tries to set cookie, contents are:

Name: pma_cookie_username
Domain: phpmyadmin.powweb.com.
Path: /
Data: <user>+

I read the FAQ and searched existing posts for similar. AFAIK fields are correct, especially the ones admin page fills in itself. Really only leaves password, which I have reset a few times to confirm typing it correctly.

This is about the limit of diagnosis I can do. Have not checked access through php script yet.

I have just taken over admin job for this account, not too familiar with powweb. Tried to telent in and run mysql from command line to see what happened there, but nothing is listening on telnet port; probably telnet is disabled. Have not looked in FAQ to find out about telnet status on powweb yet.

Thanks in advance for any suggestions regarding getting MySQL up and running.

Suwanee River
way down upon the; far, far away
 
Old 12-15-04, 04:24 PM   #2
alphadesk
 
alphadesk's Avatar
 
Join Date: Dec 2001
Location: Gulfcoast, TX
Posts: 6,911
Reputation: 102
There is no "telnet" access or any remote access at all for mysql.

The most common errors are a space before or after a username ... pass ...etc. or a case sensitive issue. Make sure you don't have a space and using the proper case.
__________________
Thanks,
AlphaDesk

Those who can read and don't are no better off than those who can't. - Sam Clemens
alphadesk is offline  
Old 12-15-04, 05:01 PM   #3
SuwaneeRiver
 
Posts: n/a
Thanks alphadesk for the reply.

Since initial post ftp'ed a php script to try DB access that way, no joy:

$db = mysql_connect("","user","pass");
if( ! $db ) {
Error_handler( "Error in mysql_connect" , $db );
} else {
echo "Connected<br />\n";
}

(user and pass being replaced with actual strings)

Script execution follows error branch -> no valid db handle.

Tried with localhost as arg, which also failed.

Copied and pasted username and password between os.powweb and script, so little chance here for extra spaces, case changes, etc.

Never saw this with MySQL before, maybe just takes awhile for DB to be exposed, but oc.powweb can see it.
 
Old 12-15-04, 05:23 PM   #4
alphadesk
 
alphadesk's Avatar
 
Join Date: Dec 2001
Location: Gulfcoast, TX
Posts: 6,911
Reputation: 102
Since this a "NEW" DB I suggest you start from scratch.

Delete the users and rename the DB ... give the server time to update (maybe 30 minutes) ... then add the users with pass back.
__________________
Thanks,
AlphaDesk

Those who can read and don't are no better off than those who can't. - Sam Clemens
alphadesk is offline  
Old 12-16-04, 10:58 AM   #5
SuwaneeRiver
 
Posts: n/a
AlphaDesk,

Thanks for the suggestion. Created new DB and left it lie last evening. Looks like everything synched up in the wee hours, as the mySQL dolphin is liking the phpMyAdmin purple pill now. My php test script also runs.

Forum is great resource, saved me calling up tech support. Expect I will be here from time to time as long as I admin these guy's site.

Now the real fun can commence. Client wants lots of DB-backed tools, should be a blast.

Suwanee River
way down upon the; far, far away
http://gsfrrhs.org
 
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:11 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.