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 Sat Apr 20, 2024 2:23 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Crazy setup issue
PostPosted: Wed Sep 06, 2006 10:57 pm 
Offline
Helper

Joined: Fri Aug 25, 2006 12:59 am
Posts: 75
Location: Northeast Pennsylvania
I had it installed on the server but had some php errors. Instead of getting the mess straightened out, I just removed it and installed the latest package from svc. Now, I goto set it up again and I get this error. I removed the database and readded it via phpMyAdmin.

It sets up a new instance of OA with 0 problems, then Setting defaults in the database gives me this error:
[code]Connecting to 192.168.10.18 as root. Connected.
Setting up data in tables.
Query failed. Query was:
SET PASSWORD FOR 'root'@'%' = OLD_PASSWORD('mypw')[/code]

Note: 'mypw' isn't the actual password.

I'm thinking it's a user error. I'm still looking into it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 07, 2006 12:06 am 
Offline
Newbie

Joined: Mon Mar 07, 2005 11:01 pm
Posts: 14
Had the same problem this morning.

Just commented out the line and setup completed

Suspect its got something to do with the host not been specified

SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 07, 2006 12:18 am 
Offline
Helper

Joined: Fri Aug 25, 2006 12:59 am
Posts: 75
Location: Northeast Pennsylvania
I'm guessing I'd have to do that on the MySQL end? Where is it located?

(Obviously, newb to the whole MySQL/PHP game.)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 07, 2006 12:22 am 
Offline
Newbie

Joined: Mon Mar 07, 2005 11:01 pm
Posts: 14
comment out line 24 in setup_2.php

line 23&24
[code]
$sql = "SET PASSWORD FOR '" . $mysql_user . "'@'%' = OLD_PASSWORD('" . $mysql_password . "')";
//$result = mysql_query($sql) or die("<tr><td>".__("Query failed. Query was").":<br /><font color=\"red\">" . $sql . "</font></td></tr>\n");
[/code]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 07, 2006 12:25 am 
Offline
Helper

Joined: Fri Aug 25, 2006 12:59 am
Posts: 75
Location: Northeast Pennsylvania
Wow, you're too quick with the replies! Thank you, that seemed to have worked. I'm configuring the audit.vbs right now. Hopefully I won't mangle anything else. If so, look forward to seeing another topic posted.

Thanks again!


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.  [ 5 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