Skip to content

mysql connection handling #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SWSAmor opened this issue Jun 20, 2017 · 0 comments
Open

mysql connection handling #19

SWSAmor opened this issue Jun 20, 2017 · 0 comments
Labels
question Further information is requested

Comments

@SWSAmor
Copy link

SWSAmor commented Jun 20, 2017

May i ask a theoretical noob questions here? Or there is another channel for these?

I'd like to group mysql functions into a module. But if they are in a module, how could i call these from other modules. Should i declare the 'conn' (= mysql_connect()) variable as a global? Or should i pass it to all functions as parameter?
Generally the mysql connection is permanent in tarantool? Need to be permanent (relate to performance)? Or need to be open a new connection for every operation?
Thank you.

@Totktonada Totktonada added the question Further information is requested label Jul 8, 2020
@LeonidVas LeonidVas added the teamE label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants