artanis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Artanis] problem with Database operating


From: Wensheng Xie
Subject: Re: [Artanis] problem with Database operating
Date: Fri, 25 Jan 2019 23:31:34 +0800

Hi, Nala:

Thanks for the reply.

sudo service mysql restart
==> ok

netstat -pan | grep mysql
==> listening xxxx - /var/run/mysqld/mysqld.sock

However, I still have the same problem with artanis.

What do you want to know about /var/run/mysqld/mysqld.sock?
cat /var/run/mysqld/mysqld.sock
==>no such device or address

Could you help?
wxie


On Tue, Jan 22, 2019 at 12:49 AM Nala Ginrut <address@hidden> wrote:

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


--
I'm an FSF member -- Help us support software freedom! https://my.fsf.org/join

reply via email to

[Prev in Thread] Current Thread [Next in Thread]