2022-04-05, 08:37
Hi,
As far as I have understood with the use of profile, among all kind of settings, you can have separate video source and database. So profile 1 has is own video and libraries and profile 2 as well.
In fact the database folders are stored in different userdata folders.
I'm sorry if the following appears as a dummy question, but I 'm new on kodi and mysql.
What happen if I want to use a mysql common database setup for several istance of kodi ?
Do I have to implemend two different users in mysql database (ie kodi1 and kodi2) and address the specific user with the related advancedsettings.xml ?
I mean I create user kodi1 and user kodi2 in mysql.
In the advance "videodatabase" settings of profile 1 I put:
<videodatabase>
<type>mysql</type>
<host>HpstIP</host>
<port>3306</port>
<user>kodi1</user>
<pass>kodi</pass>
</videodatabase>
In the advance "videodatabase" settings of profile 2 I put:
<videodatabase>
<type>mysql</type>
<host>HpstIP</host>
<port>3306</port>
<user>kodi2</user>
<pass>kodi</pass>
</videodatabase>
Is that right ?
Do I need to have kodi1 and kodi2 instead of just kodi as user of mysql database to keep the video separate ?
Many thanks
As far as I have understood with the use of profile, among all kind of settings, you can have separate video source and database. So profile 1 has is own video and libraries and profile 2 as well.
In fact the database folders are stored in different userdata folders.
I'm sorry if the following appears as a dummy question, but I 'm new on kodi and mysql.
What happen if I want to use a mysql common database setup for several istance of kodi ?
Do I have to implemend two different users in mysql database (ie kodi1 and kodi2) and address the specific user with the related advancedsettings.xml ?
I mean I create user kodi1 and user kodi2 in mysql.
In the advance "videodatabase" settings of profile 1 I put:
<videodatabase>
<type>mysql</type>
<host>HpstIP</host>
<port>3306</port>
<user>kodi1</user>
<pass>kodi</pass>
</videodatabase>
In the advance "videodatabase" settings of profile 2 I put:
<videodatabase>
<type>mysql</type>
<host>HpstIP</host>
<port>3306</port>
<user>kodi2</user>
<pass>kodi</pass>
</videodatabase>
Is that right ?
Do I need to have kodi1 and kodi2 instead of just kodi as user of mysql database to keep the video separate ?
Many thanks