Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for MySQL (0.3 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. 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)
  7. 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)
  8. finisher_api.go

    func (db *DB) SavePoint(name string) *DB {
    	if savePointer, ok := db.Dialector.(SavePointerDialectorInterface); ok {
    		// close prepared statement, because SavePoint not support prepared statement.
    		// e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
    		var (
    			preparedStmtTx   *PreparedStmtTX
    			isPreparedStmtTx bool
    		)
    		// close prepared statement, because SavePoint not support prepared statement.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. go.mod

    	github.com/fatih/color v1.17.0
    	github.com/felixge/fgprof v0.9.4
    	github.com/fraugster/parquet-go v0.12.0
    	github.com/go-ldap/ldap/v3 v3.4.8
    	github.com/go-openapi/loads v0.22.0
    	github.com/go-sql-driver/mysql v1.8.1
    	github.com/gobwas/ws v1.4.0
    	github.com/golang-jwt/jwt/v4 v4.5.0
    	github.com/gomodule/redigo v1.9.2
    	github.com/google/uuid v1.6.0
    	github.com/inconshreveable/mousetrap v1.1.0
    	github.com/json-iterator/go v1.1.12
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/core/deployment/pom.xml
    quarkus/extensions/reactive-mysql-client/deployment/pom.xml
    	quarkus/extensions/reactive-datasource/deployment/pom.xml
    	quarkus/extensions/vertx/deployment/pom.xml
    	quarkus/extensions/credentials/deployment/pom.xml
    	quarkus/extensions/reactive-mysql-client/runtime/pom.xml
    	quarkus/extensions/smallrye-health/spi/pom.xml
    	quarkus/extensions/devservices/mysql/pom.xml
    	quarkus/extensions/devservices/mariadb/pom.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 224K bytes
    - Viewed (0)
Back to top