Skip to content
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

Could not locate mysql. #15

Closed
chenggang108 opened this issue Sep 20, 2022 · 4 comments
Closed

Could not locate mysql. #15

chenggang108 opened this issue Sep 20, 2022 · 4 comments

Comments

@chenggang108
Copy link

chenggang108 commented Sep 20, 2022

Hi, I am trying to use trackplot, but it show the error below. I have installed mysql either by homebrew or conda. Neither can be detected. Can you please help with it?

> track_plot(summary_list = track_data)
Missing gene model. Trying to query UCSC genome browser..
Error in .check_mysql() : Could not locate mysql.
Install:
 apt install mysql-server [Debian]
 yum install mysql-server [centOS]
 brew install mysql [macOS]
 conda install -c anaconda mysql [conda]
Called from: .check_mysql()

Thanks
Gang

@PoisonAlien
Copy link
Owner

Hi,
The error says it all. You need to install mysql().

@chenggang108
Copy link
Author

chenggang108 commented Sep 21, 2022 via email

@PoisonAlien
Copy link
Owner

Hi,
If mysql is under the path then it should work without any issues.
Could you find it from the terminal - if you run which mysql or Whereis mysql?

@chenggang108
Copy link
Author

I re-install it with Homebrew, as it is suggested by you if working on Macos.

If I run which mysql, it shows:
/Users/chengg2/homebrew/bin/mysql

If I run Whereis mysql, it shows:
mysql: /Users/chengg2/homebrew/bin/mysql /Users/chengg2/homebrew/share/man/man1/mysql.1

I wonder if it is because I am not a the root user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants