Closed chakrapani123 closed 5 years ago
Connection errors do happen. Not sure what you are asking or what the problem you are wanting help with.
The best way to get help is to have a small code snippet and ALL SQL involved that is easily repeatable by someone else so the error can be reproduced.
@chakrapani123 Everything alright now? Close this?
Yes . Please
thanks Chakri
On Fri, Jan 11, 2019 at 5:56 AM MichaelS11 notifications@github.com wrote:
@chakrapani123 https://github.com/chakrapani123 Everything alright now? Close this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mattn/go-oci8/issues/315#issuecomment-453480733, or mute the thread https://github.com/notifications/unsubscribe-auth/AQJYG6pMpmL4Z3cBGm0jbKwzpxuu-GxGks5vCG3kgaJpZM4ZpzIT .
@mattn Please close this.
hello,
i am making updates to oracle version 12.2.0.1 and using the following code snippet..
func (o *Oracle) UnReserveCdb(cdbname string) (unreserved bool, err error) {
}
type Oracle struct { Driver string ConnectString string Db *sql.DB logger log.Logger }
func NewOracleConnection(cfg config.Config, log log.Logger) (Connection, error) { var err error o := &Oracle{ Driver: cfg.DB.Driver, ConnectString: cfg.DB.ConnectString, logger: log, } o.Db, err = sql.Open(o.Driver, o.ConnectString) if err != nil { log.Log("event", "connecting to database", "err", err.Error()) } return o, err }
thanks Chakri