How can I monitor a mariadb instance with the New Relic MySQL plugin?
I can monitor mysql 5.1. I can talk to the mariadb 5.5 db with the mysql cli. But when I try to talk to mariadb 5.5 with the newrelic mysql plugin, I get this:
[2014-01-14 16:27:43 -0800]
com.newrelic.metrics.publish.binding.Context | SEVERE | Unable to
obtain a new database connection: jdbc:mysql://db001:10017/
newrelic/PASSWORD_FILTERED, check your MySQL configuration settings.
Could not create connection to database server.
New Relic doesn't officially support MariaDB, but it may work. The New Relic plugin requires that it can connect via TCP. You can test this by trying to connect locally over TCP.
For mysql you would run something like: mysql -u newrelic -pPASSWORD -hHOST --protocol=TCP
The JDBC drivers that work with MySQL may not work the same way which could mean that this plugin will not work correctly with MariaDB.
I had a similar issue and thought it was a MariaDB issue. It turns out I had installed Java 1.5 (the default if you do yum install java). Once I switched to 1.6 it started working.
Related
I intend to connect symfony with sql server.
so far all the researches have not worked,
I would like you to help me.
What have you tried so far?
To connect to SQL Server using Symfony, you need to download the PHP pdo_sqlsrv extensions and then all you have to do is set the configuration in your .env:
DATABASE_URL=sqlsrv://{USERNAME}:{PASSWORD}#{HOST}:1433/database_name
Is there a package I can download and load?
If not what would be the best way to connect MariaDB to Laravel 5.4?
The default MySql connection can be used to connect to MariaDB. You can see the following answer for clarification: How to configure MariaDB in Laravel 5?
However, it seems as simple as configuring the MySql connection as if it were MariaDB.
I am using oracle db for the first time and I have prior experience using MYSQL. I am super confused with the installation process. My main doubt is can I connect to a localhost using Oracle db like how I do for MySQL, as I don't have a oracle server to connect. If so, what might the process?
Steps to run oracle db
You should first install oracle db on your laptop/pc.
Then you install SQL developer tool which is like MySQL Workbench
In Step 1 while installing the db, remember the username and password which you may have to enter during the step 2
Once you install the sql developer tool, then you connect to the database.
For installing database - https://www.youtube.com/watch?v=d_CyuCLC3Ls
For installing sql developer tool - https://www.youtube.com/watch?v=FSr7oVOkR6w
I had oracle 11g database installed on my machine (OS win8). It was working fine. This week I upgraded my laptop from win 8 to 8.1. Now I am not able see oracle database services in windows services. Consequently I am not able to start oracle and connect to DB.
Tried couple of things like
>oradim -STARTUP -SID ORCL
DIM-00011: The specified service does not exist.
O/S-Error: (OS 1060) The specified service does not exist as an installed servic
e.
Is there any way to start the oracle ? or Do I need to re-install the database ?
Kindly let me know if you have some idea about this.
Thanks in advance for your help
Hello we were having the same issues after the 8.1 upgrade & Managed to resolve (Oracle Database 10g Enterprise Edition Release 10.2.0.3.0)
The procedures we listed below with the post should help you as well.
http://windows7bugs.wordpress.com/2013/10/31/oracle-services-disappear-from-windows-services-panel-after-upgraded-to-windows-8-1/
regards,
Registry cleaner (System Mechanic 14.5) did it to me (caused the Oracle listener service to be removed from Windows 7). Still had the listener.ora read somewhere else that using lsntrctl start will fix the problem in this circumstance (where there is a valid listener.ora but no service) by adding the service back in.
Anyone has any experience using application developed using Oracle PL / SQL Web toolkit and deploying it on WLS 10.3 ?
We have an old application created in Oracle PL / SQL Web toolkit which is currently hosted on OAS. The client wants us to migrate the application to Weblogic server (10.3). I wanted to know if anyone has heard of any plug-in or has any experience in doing this ?
Any pointers in this direction will be really helpful.
Thanks.
Vivek
Did some digging around this is what i found:
There are two ways of getting this migration done without re-writing the code:
Install OHS(with mod PL/SQL) using Oracle SOA Suite 10g(10.1.3.3) and use .
Upgrade HTML DB from its existing version to Apex 3.2 or higher.
Oracle Documentation says there are 2 ways of doing it: In order to run, Oracle Application Express must have access to either the “embedded PL/SQL gateway” or “Oracle HTTP Server and mod_plsql”.
With Oracle 11g documentation website confirms that Oracle HTTP server is still compatible:
“Oracle HTTP Server: Starting with Oracle Database 11g, Oracle HTTP Server is available on a separate media shipped with Oracle Database. In the previous releases, this product was available as a Companion CD component.
Note: To install Oracle HTTP Server, use the Oracle Fusion Middleware Web Tier Utilities 11g (11.1.1.2.0) media or download.”
http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/whatsnew.htm#sthref10
To set up OHS and mod_plsql this is the official guide (Downloading from OTN and Configuring Oracle HTTP Server)
http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/overview.htm#CHDCEJIE
[EDIT:] Let me add this, PL/SQL Web Toolkit & mod_plsql has NOTHING to do with Weblogic. The mod is designed to run on an Apache Instance. Oracle OHS is nothing but modified Apache 1.3. You can dare and try to install modplsql (Or its opensource version mod_owa) on vanilla Apache 2.2 instance but the risk is all yours...