Highlighted
Absent Member.. Absent Member..
Absent Member..
1242 views

clearprobedata batch file showing password error

Jump to solution

Hi,

 

clearProbeData.bat script is not working on probe.  It was run as administrator, but shown error as below

 

 

Got error: Access denied for user 'root'@'localhost' (using password: NO)
error=1
Cannot establish connection to the database with provided password - exiting

 

 

Please suggest how to run the batch file.

 

 

with regards,

Nick

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: clearprobedata batch file showing password error

Jump to solution

Running the clearProbeData script needs the root password as an argument. Run it using command prompt.

 

The clearProbeData.bat script recreates the database user with a password that is provided as an

argument to the script.

After you set a password, each time you execute the clearProbeData.bat script, it retrieves the

database password as an argument.

 

Regards,

Puneet

Regards
Puneet

If you find this reply helpful, Click the KUDOS button on the bottom to say 'Thanks'

View solution in original post

0 Likes
7 Replies
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: clearprobedata batch file showing password error

Jump to solution

What version you're runing on?

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: clearprobedata batch file showing password error

Jump to solution

HI,

 

working on UD10.01 CP12 CUP3.

 

 

 

with regards,

Nick

0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: clearprobedata batch file showing password error

Jump to solution

On UCMDB 10.01 you need to use password that was provided during installation of the probe.

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: clearprobedata batch file showing password error

Jump to solution

Hi Dima,

 

But it doesnot ask for the password anywhere.

 

where to enter the password? Please share snapshot ifpossible.

 

Thanks.

 

with regards,

Nick

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: clearprobedata batch file showing password error

Jump to solution

Running the clearProbeData script needs the root password as an argument. Run it using command prompt.

 

The clearProbeData.bat script recreates the database user with a password that is provided as an

argument to the script.

After you set a password, each time you execute the clearProbeData.bat script, it retrieves the

database password as an argument.

 

Regards,

Puneet

Regards
Puneet

If you find this reply helpful, Click the KUDOS button on the bottom to say 'Thanks'

View solution in original post

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: clearprobedata batch file showing password error

Jump to solution

We do not get prompted for the password when running clearProbeData, see attached.  Any ideas?

uCMDB 10.01, Cup 9, CP 12

0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: clearprobedata batch file showing password error

Jump to solution

Dear Michel,

Please try to use

E:\hp\UCMDB\DataFlowProbe\tools>clearProbedata your_password

 

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.