Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes to 1 Install Mythtv.cmd #914

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Commits on Jun 4, 2024

  1. fixes to 1 Install Mythtv.cmd

    * Curl now uses the parameter "-k"
    * Bump xampp version to 8.0.25. 
    * Remove parameter -r from rmdir
    * For aesthetics, add verbose "-v" parameter to tar
    * To mysql command add the parameter "--skip-password"
    * For aethetics very the by querying and viewing the new user "mythtv" in the mysql database
    
    ```
    C:\INSTALL>curl -L "https://sourceforge.net/projects/xampp/files/XAMPP%%20Windows/8.0.9/xampp-portable-windows-x64-8.0.9-0-VS16.zip/download" > xampp-portable-windows.zip)
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
    ```
    Fix: curl now needs -k parameter . . . adding . . .
    
    ```
    C:\INSTALL>curl -kL "https://sourceforge.net/projects/xampp/files/XAMPP%%20Windows/8.0.9/xampp-portable-windows-x64-8.0.9-0-VS16.zip/download" > xampp-portable-windows.zip)
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   155  100   155    0     0   1381      0 --:--:-- --:--:-- --:--:--  1422
    ```
    Fix: version 8.0.9 is no longer available to download.  Bumping version to 8.025 . . . bumped . . .
    
    ```
    C:\INSTALL>curl -kL "https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/8.0.25/xampp-portable-windows-x64-8.0.25-0-VS16.zip/download" > xampp-portable-windows.zip
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   679    0   679    0     0   2459      0 --:--:-- --:--:-- --:--:--  2487
    100   433  100   433    0     0    462      0 --:--:-- --:--:-- --:--:--   708
    100  201M  100  201M    0     0  4854k      0  0:00:42  0:00:42 --:--:-- 5055k
    ```
    
    ```
    C:\INSTALL>curl -L https://downloads.mysql.com/general/timezone_2021a_leaps.zip > timezone_2021a_leaps.zip
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
    ```
    Fix: curl now needs -k parameter . . . adding . . .
    
    
    ```
    C:\INSTALL>curl -kL https://downloads.mysql.com/general/timezone_2021a_leaps.zip > timezone_2021a_leaps.zip
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  402k  100  402k    0     0   512k      0 --:--:-- --:--:-- --:--:--  514k
    
    C:\INSTALL>
    
    ```
    
    For aesthetics, adding "-v" verbose
    ```
    C:\INSTALL>tar -v -xf timezone_2021a_leaps.zip
    x timezone_2021a_leaps/
    x timezone_2021a_leaps/time_zone.MYD
    x timezone_2021a_leaps/time_zone.MYI
    x timezone_2021a_leaps/time_zone.frm
    x timezone_2021a_leaps/time_zone_leap_second.MYD
    x timezone_2021a_leaps/time_zone_leap_second.MYI
    x timezone_2021a_leaps/time_zone_leap_second.frm
    x timezone_2021a_leaps/time_zone_name.MYD
    x timezone_2021a_leaps/time_zone_name.MYI
    x timezone_2021a_leaps/time_zone_name.frm
    x timezone_2021a_leaps/time_zone_transition.MYD
    x timezone_2021a_leaps/time_zone_transition.MYI
    x timezone_2021a_leaps/time_zone_transition.frm
    x timezone_2021a_leaps/time_zone_transition_type.MYD
    x timezone_2021a_leaps/time_zone_transition_type.MYI
    x timezone_2021a_leaps/time_zone_transition_type.frm
    ```
    
    ```
    C:\INSTALL>rmdir -r timezone_2021a_leaps /s /q
    The system cannot find the file specified.
    ```
    Fix -r is not a parameter of "rmdir." . . . Elimininating "-r" . . .
    
    ```
    C:\INSTALL>rmdir timezone_2021a_leaps /s /q
    
    C:\INSTALL>
    ```
    
    ```
    C:\INSTALL\xampp>"mysql\bin\mysql.exe" -u root -e "CREATE USER 'mythtv'@'localhost' IDENTIFIED BY 'mythtv';CREATE DATABASE mythconverg;GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'localhost';"
    ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'mythtv'@'localhost'
    ```
    Fix: add the parameter --skip-password
    
    ```
    C:\INSTALL\xampp>"mysql\bin\mysql.exe" -u root --skip-password  -e "CREATE USER 'mythtv'@'localhost' IDENTIFIED BY 'mythtv';CREATE DATABASE mythconverg;GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'localhost';"
    ```
    
    For aethetics, added . . . 
    ```
    "mysql\bin\mysql.exe" -u root -e "SELECT user FROM mysql.user where user = 'mythtv';"
    
    ```
    ```
    --------+
    | User   |
    +--------+
    | mythtv |
    +--------+
    ```
    AndreMikulec authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    61bf1b7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from AndreMikulec/fixes_to_1_Install_Mythtv.cmd

    fixes to 1 Install Mythtv.cmd
    AndreMikulec authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    e8d3444 View commit details
    Browse the repository at this point in the history