Permission denied - MySql database

Eero Volotinen eero.volotinen at iki.fi
Sun Jan 26 21:24:39 CET 2020


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


More information about the Freeradius-Users mailing list