Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initMySQL (0.15 sec)

  1. internal/event/target/mysql.go

    			return err
    		}
    	}
    
    	return nil
    }
    
    func (target *MySQLTarget) init() error {
    	return target.initOnce.Do(target.initMySQL)
    }
    
    func (target *MySQLTarget) initMySQL() error {
    	args := target.args
    
    	db, err := sql.Open("mysql", args.DSN)
    	if err != nil {
    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top