MySQL Set Password Error on Windows 7 (1 Viewer)

danzx2

Portal Pro
May 25, 2011
50
1
Home Country
United Kingdom United Kingdom
Hi,

Can someone help me in finding where the hidden files are on Windows 7 to remove to cure this issue?

Thanks
Dan
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi danzx2

    You can find the TV Server database connection information in the Gentle.config file which is in your TV Server install folder. You can edit the file with any text editor (notepad, wordpad etc.). Look for the following part:

    <DefaultProvider name="MySQL" connectionString="Server=YourServerNameHere;Database=MpTvDb;User ID=UserNameIsHere;Password=PasswordIsHere;charset=utf8;Connection Timeout=300;" />

    If that doesn't help or wasn't what you were looking for then you really need to explain the problem with more detail - I'm completely guessing here because you haven't given me very much information! ;)

    mm
     

    danzx2

    Portal Pro
    May 25, 2011
    50
    1
    Home Country
    United Kingdom United Kingdom
    Sorry, I am having an issue when installing MYSQL (when installing MP1.2) as it gives the error 'MySQL Set Password Error 1' and it stops the install. I have deleted the MYSQL folder from Program Files then rebooted but still get the same error. Are any files hidden elsewhere?

    Thanks
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hmm, that's a bit of a strange one - I've never come across anything like this before.

    Are you upgrading from MP 1.1.x or 1.2.0a?
    Are you running the installer with administrator privileges?

    mm
     

    miroslav22

    Development Group Member
  • Premium Supporter
  • September 4, 2009
    703
    460
    Warwick
    Home Country
    United Kingdom United Kingdom
    Hi,

    Can someone help me in finding where the hidden files are on Windows 7 to remove to cure this issue?

    Thanks
    Dan

    Hi Dan,

    I've had this problem before, I could only solve it by:

    Completely uninstalling MySQL (Programs & features -> remove)

    Once uninstalled navigate to c:\programdata

    There shoud be a MySQL folder in here that holds all your databases/user information. Delete this folder (note you will lose everything MySQL has stored)

    Then try re-installing and you should be ok.
     

    danzx2

    Portal Pro
    May 25, 2011
    50
    1
    Home Country
    United Kingdom United Kingdom
    Thanks both,

    This was following a fresh install of Windows 7. I installed MP1.2 fine but had to recover to a day where it wasn't installed and have had the problem since then. I'll make sure I run it as administrator later

    c:\programdata doesn't exist. The MySQL folder is in Program files. I removed this but had the same problem.
     

    miroslav22

    Development Group Member
  • Premium Supporter
  • September 4, 2009
    703
    460
    Warwick
    Home Country
    United Kingdom United Kingdom
    Thanks both,

    This was following a fresh install of Windows 7. I installed MP1.2 fine but had to recover to a day where it wasn't installed and have had the problem since then. I'll make sure I run it as administrator later

    c:\programdata doesn't exist. The MySQL folder is in Program files. I removed this but had the same problem.

    Yea the system restore will trigger the problem as MySql will no longer be installed but the data files for it will still exist. MediaPortal will then not be able to set the password as the data files from the previous install still exist.

    As Vasilich says the programdata folder will be there, but you might have to manually key "c:\programdata" into windows explorer's address bar (or enable "Show hidden files & folders")
     

    Users who are viewing this thread

    Similar threads

    Sorry, this is all I can add. I'm currently using MP 1.32 x64 Pre with Schedules Direct. My TVServer version is 1.31.10. I'm using the legacy SD-DD (XML) from Schedules Direct. My SD plugin version is 1.30.1 I'm hesitant to update fully to 1.32 x64 final
    Sorry, this is all I can add. I'm currently using MP 1.32 x64 Pre with Schedules Direct. My TVServer version is 1.31.10. I'm using...
    Win 7 64bit USA Downloaded MP2 last night. There was no plugin for SD (Schedule Direct) EPG Buddy was no help. I downloaded...
    Replies
    9
    Views
    2K
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    2
    Views
    500
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    24
    Views
    2K
    Thanks again for all the help. I deleted 'BDHandler.dll" from the process folder, and as expected, it no longer appears in the MePo configuration utility. I also downloaded the X86 BDReader plugin that you posted. Renamed the existing files in the MePo folder, and copied the updated files to the MePo folder. For the most part...
    Thanks again for all the help. I deleted 'BDHandler.dll" from the process folder, and as expected, it no longer appears in the...
    I'm not sure that this works on 32-bit, but if I try to play a 4K UHD Blu-ray (Using makeMKV, modified firmware, and AnyDVD HD) the...
    Replies
    22
    Views
    2K
    @doskabouter That fixed it, thanks!
    @doskabouter That fixed it, thanks!
    I just upgraded to 1.32 and now, when I start TV-Service Config, I get this error: [2024-01-31 09:33:13,138] [Log ] [SetupTv...
    Replies
    2
    Views
    619
    Top Bottom