Examples of MySql


Examples of com.newrelic.plugins.mysql.MySQL

        this.properties = properties;

        this.metrics = metrics;
        this.metricCategories = metricCategories;

        this.m = new MySQL();

        createMetaData(); // Define incremental counters that are value/sec etc

        logger.debug("MySQL Agent initialized: ", formatAgentParams(name, host, user, properties, metrics));
    }
View Full Code Here

Examples of org.sonar.core.persistence.dialect.MySql

    migrator = new DatabaseMigrator(dbClient, migrations, serverUpgradeStatus, null);
  }

  @Test
  public void should_support_only_creation_of_h2_database() throws Exception {
    when(dbClient.database().getDialect()).thenReturn(new MySql());

    assertThat(migrator.createDatabase()).isFalse();
    verify(dbClient, never()).openSession(anyBoolean());
  }
View Full Code Here

Examples of org.sonar.core.persistence.dialect.MySql

    // TODO test log
  }

  @Test
  public void do_not_fail_if_mysql() throws Exception {
    Database db = mockDb(new MySql(), "5.7");
    new DatabaseChecker(db).start();
    // no error
  }
View Full Code Here

Examples of railo.commons.io.res.type.datasource.core.MySQL

        else if("com.microsoft.sqlserver.jdbc.SQLServerDriver".equals(dc.getDatasource().getClazz().getName()))
          core=new MSSQL(dc,data.getPrefix());
        else if("net.sourceforge.jtds.jdbc.Driver".equals(dc.getDatasource().getClazz().getName()))
          core=new MSSQL(dc,data.getPrefix());
        else if("org.gjt.mm.mysql.Driver".equals(dc.getDatasource().getClazz().getName()))
          core=new MySQL(dc,data.getPrefix());
        else
          throw new ApplicationException("there is no DatasourceResource driver for this database ["+data.getPrefix()+"]");
       
        cores.put(data.datasourceName, core);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.