Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 5:40 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
PostPosted: Wed Jun 24, 2015 6:36 am 
Offline
Newbie

Joined: Thu Apr 22, 2010 12:26 am
Posts: 3
I have no idea what I am doing wrong here. Tried just about everything I can come up with, lots of searching, etc.

When I try phpmyadmin I get this:


Error
MySQL said: Documentation

#1045 - Access denied for user 'root'@'localhost' (using password: YES)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Here's the bits from the cfg file, which to my knowledge should work.

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'openauditrootuserpassword';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

What am I missing here?

-Jay


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 25, 2015 8:47 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
I have never used phpMyAdmin and am looking into replacing it in Open-AudIT with Adminer.
[url]http://www.adminer.org/[/url]
Why not give it a try?

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 25, 2015 9:13 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Probably a good idea.

In the short term application\config\database.php has the actual username and password that OpenAudit uses for MySQL. I don't use the normal OA distribution so I don't know if that user has sufficient privileges in MySQL.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group