/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] phpMYAdmin config.inc.php

I am able to connect to phpMYADMIN, but it says im not using a password, and that will make it “open to intrusion”.

I tried adding a password, but then I get an ERROR message.

[QUOTE]

Error

MySQL said: Documentation
Cannot connect: invalid settings.

[/QUOTE]

With out a password:

[code=php]$cfg[‘Servers’][$i][‘auth_type’] = ‘config’; // Authentication method (config, http or cookie based)?
$cfg[‘Servers’][$i][‘user’] = ‘root’; // MySQL user
$cfg[‘Servers’][$i][‘password’] = ”; // MySQL password (only needed
// with ‘config’ auth_type)
$cfg[‘Servers’][$i][‘only_db’] = ”; // If set to a db-name, only[/code]

With A password

[code=php]$cfg[‘Servers’][$i][‘auth_type’] = ‘config’; // Authentication method (config, http or cookie based)?
$cfg[‘Servers’][$i][‘user’] = ‘root’; // MySQL user
$cfg[‘Servers’][$i][‘password’] = ‘d’; // MySQL password (only needed
// with ‘config’ auth_type)
$cfg[‘Servers’][$i][‘only_db’] = ”; // If set to a db-name, only[/code]

Can anyone help me with this?

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@The_Little_GuyauthorJul 17.2006 — NVM I got it!
Copy linkTweet thisAlerts:
@sathi1693Aug 31.2008 — [COLOR="Red"][SIZE="6"][FONT="Verdana"]? ? ? Hi the same error i got. can u tell me how u got it. Plz.:rolleyes: :rolleyes:

? Thanks in advance...? [/FONT][/SIZE]
[/COLOR]
Copy linkTweet thisAlerts:
@JickAug 31.2008 — [COLOR="Red"][SIZE="6"][FONT="Verdana"]? ? ? Hi the same error i got. can u tell me how u got it. Plz.:rolleyes: :rolleyes:

? Thanks in advance...? [/FONT][/SIZE]
[/COLOR]
[/QUOTE]
There is no need to emphasize your text that much. Please keep that in mind for the future. ?
Copy linkTweet thisAlerts:
@amoomearaJul 20.2018 — @The_Little_Guy#603509 How did you fix it? I've been getting a similar message.

"Invalid authentication method set in configuration: config"
Copy linkTweet thisAlerts:
@rootJul 21.2018 — {"locked":true}
×

Success!

Help @The_Little_Guy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 3.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...