EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Question about fetching history data from MySQL by using phoebus
From: Han Lee via Tech-talk <tech-talk at aps.anl.gov>
To: neu lzf <lzfneu at live.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 27 Jun 2023 21:23:12 -0700
The correct, for example, configurations are, 

---- snip snip ---
org.csstudio.trends.databrowser3/archives=Current|0|pbraw\://your_host_name\:17668/retrieval
org.csstudio.trends.databrowser3/urls=pbraw\://your_host_name\:17668/retrieval
---- snip snip ---

HTH,
Han

On Tue, Jun 27, 2023 at 7:39 PM neu lzf via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi,

I am using epics 3.15.9 on CentOS 7 OS and recently from using Control system studio (CSS) to phoebus, in order to fetch history data from MySQL, I config the settings.ini file for phoebus just like the configuration in CSS as follows:

org.phoebus.archive.reader.rdb/user=My_username
org.phoebus.archive.reader.rdb/password=My_password
org.phoebus.archive.reader.rdb/prefix=
org.phoebus.archive.reader.rdb/stored_procedure=
#org.phoebus.archive.reader.rdb/starttime_function=
#org.csstudio.trends.databrowser3/concurrent_requests=4
org.csstudio.trends.databrowser3/urls=jdbc:mysql://192.168.1.230/archive
org.csstudio.trends.databrowser3/archives=jdbc:mysql://192.168.1.230/archive
org.csstudio.trends.databrowser3/use_default_archives=true
org.csstudio.trends.databrowser3/drop_failed_archives=false

however, after runing "sh phoebus.sh", the Error is:
Cannot connect to jdbc:mysql://192.168.1.230/archive as My_username
......
Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://192.168.1.230/archive
......

I wonder if I miss some configuration for phoebus, while the configuration for CSS is working.
Any help will be appreciated and thanks in advance.




--
Jeong Han Lee, Dr.rer.nat.
Staff Scientist and Engineer
Cell: +1 510 384 3868

References:
Question about fetching history data from MySQL by using phoebus neu lzf via Tech-talk

Navigate by Date:
Prev: Question about fetching history data from MySQL by using phoebus neu lzf via Tech-talk
Next: Re: Question about fetching history data from MySQL by using phoebus Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Question about fetching history data from MySQL by using phoebus neu lzf via Tech-talk
Next: Re: Question about fetching history data from MySQL by using phoebus Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 28 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·