Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for MySQL (0.02 sec)

  1. internal/event/target/mysql.go

    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/go-sql-driver/mysql"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	mysqlTableExists = `SELECT 1 FROM %s;`
    	// Some MySQL has a 3072 byte limit on key sizes.
    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. .github/workflows/tests.yml

        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh
    
      mysql:
        strategy:
          matrix:
            dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
            go: ['1.22', '1.21', '1.20']
            platform: [ubuntu-latest]
        runs-on: ${{ matrix.platform }}
    
        services:
          mysql:
            image: ${{ matrix.dbversion }}
            env:
              MYSQL_DATABASE: gorm
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. tests/compose.yml

    services:
      mysql:
        image: 'mysql/mysql-server:latest'
        ports:
          - "127.0.0.1:9910:3306"
        environment:
          - MYSQL_DATABASE=gorm
          - MYSQL_USER=gorm
          - MYSQL_PASSWORD=gorm
          - MYSQL_RANDOM_ROOT_PASSWORD="yes"
      postgres:
        image: 'postgres:latest'
        ports:
          - "127.0.0.1:9920:5432"
        environment:
          - TZ=Asia/Shanghai
          - POSTGRES_DB=gorm
          - POSTGRES_USER=gorm
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 798 bytes
    - Viewed (0)
  4. tests/tests_test.go

    	}
    }
    
    func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) {
    	dbDSN := os.Getenv("GORM_DSN")
    	switch os.Getenv("GORM_DIALECT") {
    	case "mysql":
    		log.Println("testing mysql...")
    		if dbDSN == "" {
    			dbDSN = mysqlDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	case "postgres":
    		log.Println("testing postgres...")
    		if dbDSN == "" {
    			dbDSN = postgresDSN
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. tests/go.mod

    	github.com/lib/pq v1.10.9
    	github.com/stretchr/testify v1.9.0
    	gorm.io/driver/mysql v1.5.7
    	gorm.io/driver/postgres v1.5.9
    	gorm.io/driver/sqlite v1.5.6
    	gorm.io/driver/sqlserver v1.5.3
    	gorm.io/gorm v1.25.12
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    	github.com/davecgh/go-spew v1.1.1 // indirect
    	github.com/go-sql-driver/mysql v1.8.1 // indirect
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Sep 18 12:03:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/test/resources/plugin/repo3/index.html

    <a href="fess-crawler-db-h2/" title="fess-crawler-db-h2/">fess-crawler-db-h2/</a>                                              -         -      
    <a href="fess-crawler-db-mysql/" title="fess-crawler-db-mysql/">fess-crawler-db-mysql/</a>                                           -         -      
    <a href="fess-crawler-es/" title="fess-crawler-es/">fess-crawler-es/</a>                                                 -         -      
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/ProfileUtil.java

            }
    
            if (ResourceUtil.getResourceNoException("org/h2/Driver.class") != null) {
                list.add("h2");
            }
    
            if (ResourceUtil.getResourceNoException("com/mysql/jdbc/Driver.class") != null) {
                list.add("mysql");
            }
    
            if (ResourceUtil.getResourceNoException("oracle/jdbc/driver/OracleDriver.class") != null) {
                list.add("oracle");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/test/resources/plugin/repo3/fess-crawler-db-mysql/maven-metadata.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <metadata>
      <groupId>org.codelibs.fess</groupId>
      <artifactId>fess-crawler-db-mysql</artifactId>
      <versioning>
        <latest>1.0.12</latest>
        <release>1.0.12</release>
        <versions>
          <version>1.0.0</version>
          <version>1.0.1</version>
          <version>1.0.2</version>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 722 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        }
    
        public void test_getArtifactFromFileName3() {
            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.UNKNOWN, "mysql-connector-java-8.0.17.jar");
            assertEquals("mysql-connector-java", artifact.getName());
            assertEquals("8.0.17", artifact.getVersion());
        }
    
        public void test_loadYaml() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 12:38:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tests/tests_all.sh

    #!/bin/bash -e
    
    dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb")
    
    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top