Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forkstorm@zenpaq:~/work/tm/tarantool/tarantool-mysql$ tarantool
- tarantool: version 1.6.8-652-g77cd491
- type 'help' for interactive help
- tarantool> mysql = require('mysql')
- ---
- ...
- tarantool> local mysql_connect_opts = { host = localhost, user = 'root', password = '11', db = 'tempdb', raise = true }
- ---
- ...
- tarantool> conn = mysql.connect(mysql_connect_opts)
- ---
- ...
- tarantool> conn:execute('select 1')
- ---
- - error: './mysql/init.lua:84: Driver fatal error (closed connection or not a connection)'
- ...
- tarantool>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement