CA recommends that no other external application/script to connect to mySQL 
database (at the same time as any Spectrum application anyway)  because the 
database might become corrupted; that's why they put that "lock" system in 
place (with *.LOCK files to prevent concurrent access to database).

I haven't tried very hard to understand what that script wants to do (I'm no 
SQL guru and never been one J ) but I am pretty sure that the same thing can be 
accomplished using Spectrum CLI.

Spectrum CLI is a very powerful feature and gives access to many-many things - 
have a look at the documentation, there are chances you will find what you need.

 

 

Regards,

============================================ 

Eugen NAIMAN
IT Officer
ICT Infrastructure
Department Health and Human Services 
5/99 Bathurst Street, Hobart, 7000 
(:  (03) 6233 8565 
Ê:  (03) 6233 6297 
[email protected]
============================================

From: CATools Helpdesk [mailto:[email protected]] 
Sent: Thursday, 4 November 2010 11:48 PM
To: spectrum
Subject: [spectrum] Spectrum Script Execution error

 

Dear All, 
  
I have one requirement from customer, they want result from mysql but while 
trying getting error no 1130. Host <> is not allow to connect to this MySQL 
server. 

Is there any alternate way to get output?

can any one help? 
  
Script mention below:


SELECT A.alarm_id, 
B.Title,A.Set_Time,C.event_msg,D.Model_name,E.condition_name,E.criticality FROM 
alarminfo A INNER JOIN alarmtitle B ON a.cause=b.cause_id INNER JOIN event C ON 
A.orig_event_key=C.event_key INNER JOIN devicemodel d ON A.Model_h=d.Model_h 
INNER JOIN alarmcondition e ON a.condition_id=e.condition_id DESC LIMIT 10 

 

Thanks & Regards, 

Subhash 

 

Please do not print this email unless it is absolutely necessary. Use less 
paper - Save Tree - make "IT" a "Greener" Tomorrow.

 

--Disclaimer-- This email and any files transmitted with it are confidential 
and may be privileged or otherwise protected from disclosure and are intended 
solely for the use of the entity / individual to whom they are addressed. If 
you have received this email in error or If you are not the intended recipient, 
please notify the sender immediately by way of telephone or email and delete 
this message and any files transmitted from your system. Please note that any 
views presented in the email are solely those of the author and do not 
necessarily represent those of the organization. While all care has been taken 
to avoid viruses the recipient is advised to check this email and attachments 
for presence of viruses. The organization accepts no liability on this account. 

*       --To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected] 



CONFIDENTIALITY NOTICE AND DISCLAIMER

The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission. If the transmission contains 
advice, the advice is based on instructions in relation to, and is provided to 
the addressee in connection with, the matter mentioned above. Responsibility is 
not accepted for reliance upon it by any other person or for any other purpose.

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to