mysql_config not found

13 views
Skip to first unread message

potalottt

unread,
Jun 22, 2017, 9:30:26 PM6/22/17
to Django users
iam trying to get my database running...

i have installed mysql at another user but for all users

i have searched my whole harddisk but cannot find a mysql_config file

when i build mysqlclient i get the following error

pot@potgod:~/.cache/pip/mysqlclient-1.3.10$ python setup.py build
sh: 1: mysql_config: not found
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    metadata, options = get_config()
  File "/home/pot/.cache/pip/mysqlclient-1.3.10/setup_posix.py", line 44, in get_config
    libs = mysql_config("libs_r")
  File "/home/pot/.cache/pip/mysqlclient-1.3.10/setup_posix.py", line 26, in mysql_config
    raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found

when i type mysql in terminal i get the following answer:

pot@potgod:~/.cache/pip/mysqlclient-1.3.10$ mysql
ERROR 1698 (28000): Access denied for user 'pot'@'localhost'


what am i doin wrong ? plz help me out

thank you for your time !!!
Reply all
Reply to author
Forward
0 new messages