[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Permission denied - MySql database
From:       Eero Volotinen <eero.volotinen () iki ! fi>
Date:       2020-01-26 20:24:39
Message-ID: CABzZrXea-R0Z=_ynqp4vLEun7x805eoj2sxjGK0wqbLL50qwhQ () mail ! gmail ! com
[Download RAW message or body]

Hi,

I think you are missing permissions to read schema.sql file. fix it with
chmod/chown first.

Eero

On Sun 26. Jan 2020 at 21.47, James Ngo <james.ngobui@gmail.com> wrote:

> Hello all,
>
> So I followed the link to setup the MySQL database to use with Freeradius
>
> https://wiki.freeradius.org/guide/SQL-HOWTO
>
>
>
> But whenever I do this
>
> mysql -u root -p radius < /etc/freeradius/sql/mysql/schema.sql
>
> The error was
>
> Bash -  mysql -u root -p radius < /etc/freeradius/sql/mysql/schema.sql :
> Permission denied
>
>
>
> Any idea what the problem is?
>
> I have root password of the machine, of course
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic