|
From: | Wensheng Xie |
Subject: | Re: [Artanis] problem with Database operating |
Date: | Fri, 25 Jan 2019 23:31:34 +0800 |
hi Xie!
Could you confirm that your MySQL is start?
And please take a look at /var/run/mysqld/mysqld.sock
Wensheng Xie writes:
> Hi, artanis:
>
> Using guile 2.2.4, artanis 0.3.1, I tried to run the mysql db code:
>
> (define conn (connect-db 'mysql #:db-username "test_user_1"
> #:db-name "my_artanis_db" #:db-passwd "your_passwd"))
>
>
> /etc/artanis/artanis.conf was modified for the db.name and user name.
>
> on the mysql side, user address@hidden was grant all priviledges for
> my_artanis_db.
>
> However, I still got the error:
> (500 "connect to DB error:" "file not found")
>
> It points to the above line of code.
>
> Is there any body making this working?
>
>
> best regards,
> wxie
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058
[Prev in Thread] | Current Thread | [Next in Thread] |