PDA

View Full Version : mysql access denied?


wheez
4-17-03, 01:05 AM
Hi,

I'm new to PowWeb, but I have successfully set up PostNuke before, and that's what I'm trying to do now.

I checked out the tutorial just to be safe, but things still don't work.

Here are the contents of my config.php:
$pnconfig['dbtype'] = 'MySQL';
$pnconfig['dbhost'] = 'mysql02.powweb.com';
$pnconfig['dbuname'] = 'username';
$pnconfig['dbpass'] = 'password;
$pnconfig['dbname'] = 'database';
$pnconfig['system'] = '0';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '1';

with username/password/database all correct - I've checked them several times.

The account was activated today, and I am still accessing it through (name).powweb.com, but I was under the impression that it should work.

However, I get this message:
MySQL://jZajČ :@mysql02.powweb.com/aspnuke failed to connectAccess denied for user: 'jZajČ @63.251.216.72' (Using password: YES)

as you can see the username is all scrambled.

I would appreciate any suggestions.

Thanks,
Zac

Atomic-Design
4-17-03, 01:08 AM
Not sure??? I'd try using another FTP program.

wheez
4-17-03, 01:10 AM
To upload everything or just config.php?

Because I was originally going to do all of this under linux, but without ssh access it is a mess (trying to upload a directory full of files). So now I'm using ws_ftp under windows.

It would be nice to drop a .tar.gz in and extract it.

Atomic-Design
4-17-03, 01:14 AM
I don't understand why your username is scrambled. Check ur PM

wheez
4-17-03, 01:17 AM
well, if I set $pnconfig['encoded'] = '0'; I get "Session initialisation failed"

do you know what that means?

wheez
4-17-03, 01:26 AM
what's my PM?

Atomic-Design
4-17-03, 01:41 AM
Private Messages. Click on User CP on the top and reply to my message

Atomic-Design
4-17-03, 01:48 AM
I got in. I believe you were entering the information incorectly.

Host: ftp01.powweb.com
User: blah
Pass: blah

It worked for me.

wheez
4-17-03, 01:50 AM
I wasn't having a problem with ftp - mysql access was denied.

ftp works fine.

Atomic-Design
4-17-03, 01:58 AM
Ahhhhhhhhhhhhhh very sorry. I was pretty nervous on hockey. Detroit's season was going to end and FEDEROV GETS A GOAL WITH 2 LEFT! YEAH!

Make sure you are uploading in ASCII, not binary. Also, make sure you are CHMODing right. If everything is fine, it must be because your account is still getting launched.

HalfaBee
4-17-03, 02:46 AM
You need to put in your mysql user/pass and make $pnconfig['encoded'] = '0';

Make sure you have cookies enabled as well.


You can unpload tar.gz files and extract them.
Get a copy of phpshell.php from www.gimpster.com and make sure it is secure once you have finished with it.

HalfaBee

wheez
4-17-03, 02:53 AM
I did all that - I didn't leave username as at string- I changed it to my actual username. Same with password and database. Also, I posted a little after my initial message that when I changed the encoded option to 0 I got this:

Session initialisation failed

I am getting to the mysqld because if I put the wrong password in it gives me access denied. Now I just have to get my session to initalize...

Cookies are enabled.

Thanks for the tip on phpshell, I'll have to check it out.