Thursday, June 22, 2017

mysql_config not found

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 !!!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/431a7fe3-21de-4e77-a886-2aa73c07db76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment