Getting strange errors while downloading mysqlErrors installing php5-mysql extensioncannot upgrade kernel and mysql-server after dist upgradeCan not install MySQL on my Ubuntu 12.04MySQL Installation Issues on Ubuntu 15.04mysql-server-5.5 ErrorUnable to install MariaDB on circleCI ? Problems with dpkg.cannot install mysql-server in ubuntu16.0.4Error While removing corrupted mysqlmysql-server-5.7 package post-installation script subprocess returned error exit status 127Installing RabbitMQ on Ubuntu 14.04 getting following error can anyone give solution?

Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?

Is it correct to write "is not focus on"?

If you attempt to grapple an opponent that you are hidden from, do they roll at disadvantage?

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

What is difference between behavior and behaviour

What would happen if the UK refused to take part in EU Parliamentary elections?

Are there any comparative studies done between Ashtavakra Gita and Buddhim?

What's a natural way to say that someone works somewhere (for a job)?

Everything Bob says is false. How does he get people to trust him?

Teaching indefinite integrals that require special-casing

Can somebody explain Brexit in a few child-proof sentences?

Why Were Madagascar and New Zealand Discovered So Late?

What are the ramifications of creating a homebrew world without an Astral Plane?

What will be the benefits of Brexit?

Valid Badminton Score?

when is out of tune ok?

Your magic is very sketchy

Efficiently merge handle parallel feature branches in SFDX

Lay out the Carpet

What't the meaning of this extra silence?

What defines a dissertation?

How does residential electricity work?

Generic lambda vs generic function give different behaviour

Why is delta-v is the most useful quantity for planning space travel?



Getting strange errors while downloading mysql


Errors installing php5-mysql extensioncannot upgrade kernel and mysql-server after dist upgradeCan not install MySQL on my Ubuntu 12.04MySQL Installation Issues on Ubuntu 15.04mysql-server-5.5 ErrorUnable to install MariaDB on circleCI ? Problems with dpkg.cannot install mysql-server in ubuntu16.0.4Error While removing corrupted mysqlmysql-server-5.7 package post-installation script subprocess returned error exit status 127Installing RabbitMQ on Ubuntu 14.04 getting following error can anyone give solution?













0















I'm trying to install mysql to my new laptop and I'm getting these funny errors.



Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/2801/fd/1023: Permission denied
Cannot stat file /proc/2812/fd/1023: Permission denied
Cannot stat file /proc/2816/fd/1023: Permission denied
Cannot stat file /proc/2846/fd/7: Permission denied
Cannot stat file /proc/2846/fd/8: Permission denied
Cannot stat file /proc/2846/fd/9: Permission denied
Cannot stat file /proc/2846/fd/10: Permission denied
Cannot stat file /proc/2846/fd/11: Permission denied
Cannot stat file /proc/2846/fd/12: Permission denied
Cannot stat file /proc/2846/fd/56: Permission denied
Cannot stat file /proc/2846/fd/57: Permission denied
Cannot stat file /proc/2846/fd/1023: Permission denied
Cannot stat file /proc/2861/fd/6: Permission denied
Cannot stat file /proc/2861/fd/7: Permission denied
Cannot stat file /proc/2861/fd/8: Permission denied
Cannot stat file /proc/2861/fd/9: Permission denied
Cannot stat file /proc/2861/fd/10: Permission denied
Cannot stat file /proc/2861/fd/11: Permission denied
Cannot stat file /proc/2873/fd/4: Permission denied
Cannot stat file /proc/2873/fd/6: Permission denied
Cannot stat file /proc/2873/fd/7: Permission denied
Cannot stat file /proc/2873/fd/8: Permission denied
Cannot stat file /proc/2879/fd/6: Permission denied
Cannot stat file /proc/2879/fd/7: Permission denied
Cannot stat file /proc/2879/fd/8: Permission denied
Cannot stat file /proc/2879/fd/9: Permission denied
Cannot stat file /proc/2879/fd/10: Permission denied
Cannot stat file /proc/2879/fd/11: Permission denied
Cannot stat file /proc/2879/fd/15: Permission denied
Cannot stat file /proc/2879/fd/16: Permission denied
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.


I uninstalled and reinstalled mysql about 4 times, and the same thing happens. I have another lamp stack running fine on my older server, any tips? Thanks!










share|improve this question







New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Need more information. @Ryan Akuszewski, your question displays a long list of Permission denied. What was the command you gave to get such a long list? Please reproduce first the command you gave and then responses you received and then post it!

    – Marmayogi
    47 mins ago












  • @Marmayogi I received this when I tried to download mysql using sudo apt-get install mysql-server

    – Ryan Akuszewski
    43 mins ago











  • Are you installed with Ubuntu 18.04? are you installing MySQL 8.0.13 Server on Ubuntu 18.04?

    – Marmayogi
    38 mins ago











  • I am installing MySQL 8.0.13 on Ubuntu 18.04

    – Ryan Akuszewski
    35 mins ago











  • I am going to give a detailed answer @Ryan Akuszewski,

    – Marmayogi
    32 mins ago















0















I'm trying to install mysql to my new laptop and I'm getting these funny errors.



Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/2801/fd/1023: Permission denied
Cannot stat file /proc/2812/fd/1023: Permission denied
Cannot stat file /proc/2816/fd/1023: Permission denied
Cannot stat file /proc/2846/fd/7: Permission denied
Cannot stat file /proc/2846/fd/8: Permission denied
Cannot stat file /proc/2846/fd/9: Permission denied
Cannot stat file /proc/2846/fd/10: Permission denied
Cannot stat file /proc/2846/fd/11: Permission denied
Cannot stat file /proc/2846/fd/12: Permission denied
Cannot stat file /proc/2846/fd/56: Permission denied
Cannot stat file /proc/2846/fd/57: Permission denied
Cannot stat file /proc/2846/fd/1023: Permission denied
Cannot stat file /proc/2861/fd/6: Permission denied
Cannot stat file /proc/2861/fd/7: Permission denied
Cannot stat file /proc/2861/fd/8: Permission denied
Cannot stat file /proc/2861/fd/9: Permission denied
Cannot stat file /proc/2861/fd/10: Permission denied
Cannot stat file /proc/2861/fd/11: Permission denied
Cannot stat file /proc/2873/fd/4: Permission denied
Cannot stat file /proc/2873/fd/6: Permission denied
Cannot stat file /proc/2873/fd/7: Permission denied
Cannot stat file /proc/2873/fd/8: Permission denied
Cannot stat file /proc/2879/fd/6: Permission denied
Cannot stat file /proc/2879/fd/7: Permission denied
Cannot stat file /proc/2879/fd/8: Permission denied
Cannot stat file /proc/2879/fd/9: Permission denied
Cannot stat file /proc/2879/fd/10: Permission denied
Cannot stat file /proc/2879/fd/11: Permission denied
Cannot stat file /proc/2879/fd/15: Permission denied
Cannot stat file /proc/2879/fd/16: Permission denied
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.


I uninstalled and reinstalled mysql about 4 times, and the same thing happens. I have another lamp stack running fine on my older server, any tips? Thanks!










share|improve this question







New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Need more information. @Ryan Akuszewski, your question displays a long list of Permission denied. What was the command you gave to get such a long list? Please reproduce first the command you gave and then responses you received and then post it!

    – Marmayogi
    47 mins ago












  • @Marmayogi I received this when I tried to download mysql using sudo apt-get install mysql-server

    – Ryan Akuszewski
    43 mins ago











  • Are you installed with Ubuntu 18.04? are you installing MySQL 8.0.13 Server on Ubuntu 18.04?

    – Marmayogi
    38 mins ago











  • I am installing MySQL 8.0.13 on Ubuntu 18.04

    – Ryan Akuszewski
    35 mins ago











  • I am going to give a detailed answer @Ryan Akuszewski,

    – Marmayogi
    32 mins ago













0












0








0


1






I'm trying to install mysql to my new laptop and I'm getting these funny errors.



Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/2801/fd/1023: Permission denied
Cannot stat file /proc/2812/fd/1023: Permission denied
Cannot stat file /proc/2816/fd/1023: Permission denied
Cannot stat file /proc/2846/fd/7: Permission denied
Cannot stat file /proc/2846/fd/8: Permission denied
Cannot stat file /proc/2846/fd/9: Permission denied
Cannot stat file /proc/2846/fd/10: Permission denied
Cannot stat file /proc/2846/fd/11: Permission denied
Cannot stat file /proc/2846/fd/12: Permission denied
Cannot stat file /proc/2846/fd/56: Permission denied
Cannot stat file /proc/2846/fd/57: Permission denied
Cannot stat file /proc/2846/fd/1023: Permission denied
Cannot stat file /proc/2861/fd/6: Permission denied
Cannot stat file /proc/2861/fd/7: Permission denied
Cannot stat file /proc/2861/fd/8: Permission denied
Cannot stat file /proc/2861/fd/9: Permission denied
Cannot stat file /proc/2861/fd/10: Permission denied
Cannot stat file /proc/2861/fd/11: Permission denied
Cannot stat file /proc/2873/fd/4: Permission denied
Cannot stat file /proc/2873/fd/6: Permission denied
Cannot stat file /proc/2873/fd/7: Permission denied
Cannot stat file /proc/2873/fd/8: Permission denied
Cannot stat file /proc/2879/fd/6: Permission denied
Cannot stat file /proc/2879/fd/7: Permission denied
Cannot stat file /proc/2879/fd/8: Permission denied
Cannot stat file /proc/2879/fd/9: Permission denied
Cannot stat file /proc/2879/fd/10: Permission denied
Cannot stat file /proc/2879/fd/11: Permission denied
Cannot stat file /proc/2879/fd/15: Permission denied
Cannot stat file /proc/2879/fd/16: Permission denied
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.


I uninstalled and reinstalled mysql about 4 times, and the same thing happens. I have another lamp stack running fine on my older server, any tips? Thanks!










share|improve this question







New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm trying to install mysql to my new laptop and I'm getting these funny errors.



Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/2801/fd/1023: Permission denied
Cannot stat file /proc/2812/fd/1023: Permission denied
Cannot stat file /proc/2816/fd/1023: Permission denied
Cannot stat file /proc/2846/fd/7: Permission denied
Cannot stat file /proc/2846/fd/8: Permission denied
Cannot stat file /proc/2846/fd/9: Permission denied
Cannot stat file /proc/2846/fd/10: Permission denied
Cannot stat file /proc/2846/fd/11: Permission denied
Cannot stat file /proc/2846/fd/12: Permission denied
Cannot stat file /proc/2846/fd/56: Permission denied
Cannot stat file /proc/2846/fd/57: Permission denied
Cannot stat file /proc/2846/fd/1023: Permission denied
Cannot stat file /proc/2861/fd/6: Permission denied
Cannot stat file /proc/2861/fd/7: Permission denied
Cannot stat file /proc/2861/fd/8: Permission denied
Cannot stat file /proc/2861/fd/9: Permission denied
Cannot stat file /proc/2861/fd/10: Permission denied
Cannot stat file /proc/2861/fd/11: Permission denied
Cannot stat file /proc/2873/fd/4: Permission denied
Cannot stat file /proc/2873/fd/6: Permission denied
Cannot stat file /proc/2873/fd/7: Permission denied
Cannot stat file /proc/2873/fd/8: Permission denied
Cannot stat file /proc/2879/fd/6: Permission denied
Cannot stat file /proc/2879/fd/7: Permission denied
Cannot stat file /proc/2879/fd/8: Permission denied
Cannot stat file /proc/2879/fd/9: Permission denied
Cannot stat file /proc/2879/fd/10: Permission denied
Cannot stat file /proc/2879/fd/11: Permission denied
Cannot stat file /proc/2879/fd/15: Permission denied
Cannot stat file /proc/2879/fd/16: Permission denied
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.


I uninstalled and reinstalled mysql about 4 times, and the same thing happens. I have another lamp stack running fine on my older server, any tips? Thanks!







server mysql downloads






share|improve this question







New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 53 mins ago









Ryan AkuszewskiRyan Akuszewski

1




1




New contributor




Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Ryan Akuszewski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Need more information. @Ryan Akuszewski, your question displays a long list of Permission denied. What was the command you gave to get such a long list? Please reproduce first the command you gave and then responses you received and then post it!

    – Marmayogi
    47 mins ago












  • @Marmayogi I received this when I tried to download mysql using sudo apt-get install mysql-server

    – Ryan Akuszewski
    43 mins ago











  • Are you installed with Ubuntu 18.04? are you installing MySQL 8.0.13 Server on Ubuntu 18.04?

    – Marmayogi
    38 mins ago











  • I am installing MySQL 8.0.13 on Ubuntu 18.04

    – Ryan Akuszewski
    35 mins ago











  • I am going to give a detailed answer @Ryan Akuszewski,

    – Marmayogi
    32 mins ago

















  • Need more information. @Ryan Akuszewski, your question displays a long list of Permission denied. What was the command you gave to get such a long list? Please reproduce first the command you gave and then responses you received and then post it!

    – Marmayogi
    47 mins ago












  • @Marmayogi I received this when I tried to download mysql using sudo apt-get install mysql-server

    – Ryan Akuszewski
    43 mins ago











  • Are you installed with Ubuntu 18.04? are you installing MySQL 8.0.13 Server on Ubuntu 18.04?

    – Marmayogi
    38 mins ago











  • I am installing MySQL 8.0.13 on Ubuntu 18.04

    – Ryan Akuszewski
    35 mins ago











  • I am going to give a detailed answer @Ryan Akuszewski,

    – Marmayogi
    32 mins ago
















Need more information. @Ryan Akuszewski, your question displays a long list of Permission denied. What was the command you gave to get such a long list? Please reproduce first the command you gave and then responses you received and then post it!

– Marmayogi
47 mins ago






Need more information. @Ryan Akuszewski, your question displays a long list of Permission denied. What was the command you gave to get such a long list? Please reproduce first the command you gave and then responses you received and then post it!

– Marmayogi
47 mins ago














@Marmayogi I received this when I tried to download mysql using sudo apt-get install mysql-server

– Ryan Akuszewski
43 mins ago





@Marmayogi I received this when I tried to download mysql using sudo apt-get install mysql-server

– Ryan Akuszewski
43 mins ago













Are you installed with Ubuntu 18.04? are you installing MySQL 8.0.13 Server on Ubuntu 18.04?

– Marmayogi
38 mins ago





Are you installed with Ubuntu 18.04? are you installing MySQL 8.0.13 Server on Ubuntu 18.04?

– Marmayogi
38 mins ago













I am installing MySQL 8.0.13 on Ubuntu 18.04

– Ryan Akuszewski
35 mins ago





I am installing MySQL 8.0.13 on Ubuntu 18.04

– Ryan Akuszewski
35 mins ago













I am going to give a detailed answer @Ryan Akuszewski,

– Marmayogi
32 mins ago





I am going to give a detailed answer @Ryan Akuszewski,

– Marmayogi
32 mins ago










1 Answer
1






active

oldest

votes


















0














You may need to install the libaio library if it is not already present on your system:



how to check if libaio is installed (quickly)



$ apt-cache policy libaio1



If it's installed, it will display the version installed, if it's not, it will display the lines of text. If it is installed then skip Install libaio and goto step-1.



Install libaio



$ sudo apt-get install libaio1 libaio-dev



Note: use the following commands in order to fix all the dependencies for libaio1, libmecab2 and so on.



$ sudo aptitude update 
$ sudo aptitude upgrade


Note: Make sure that aptitude has been installed in Ubuntu.



enter image description here
Figure-1: Install libaio1



Step 1 Get MySQL APT Repository



The MySQL package version that comes with Ubuntu default repositories is not the latest version. If you need to install the latest version of MySQL database, you may want to install its repository in Ubuntu.
You can also use the command line to download, changing the version number of the package.



$ cd /tmp/ && wget [https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb][2]


Then run the commands below to install



$ sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb



When you run the commands above, you should get a config prompt. Just select OK as shown in the image below.



MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



Step 2: Install MySQL 8.0.13 Server and Client.



Now that the repository is installed, run the commands below to install



$ sudo apt update
$ sudo apt install mysql-server mysql-client


There are also packages with server-core and client-core in the package names. These
contain binaries only and are installed automatically by the standard packages. Installing them by themselves will not result in a functioning MySQL setup.



If you are being warned of unmet dependencies by dpkg, you can fix them using apt-get:



$ sudo apt-get -f install # Fix/correct the system with any broken dependencies in place.
$ cd ~


Here are where the files are installed on the system:



  • All configuration files (like my.cnf) are under /etc/mysql

  • All binaries, libraries, headers, etc., are under /usr/bin and
    /usr/sbin

  • The data directory is under /var/lib/mysql

Warning: Debian distributions of MySQL are also provided by other vendors. Be aware that they may differ from those built by Oracle in features, capabilities, and conventions (including communication setup), and that the instructions in this manual do not necessarily apply to installing them. The vendor's instructions should be consulted instead.



When you run the commands above, you should get a config prompt. Just select OK as shown in the image below. But unfortunately, my observation was, MySQL was not supporting Cosmic Cuttlefish (Ubuntu 18.10), the installation was trying to abort, but you can select Ubuntu Bionic (18.04) and go ahead with installation. Use Up arrow and select ubuntu bionic (18.04) as shown in figure-1.



enter image description hereFigure-2: Select ubuntu bionic (18.04) in the absence of ubuntu cosmic (18.10)



MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



enter image description here
Figure-3: Select appropriate product



During the installation, you should be prompted to create and confirm a MySQL root password.



enter image description hereFigure-4: Enter password



enter image description hereFigure-5: Re-Enter password



Also, you confirm whether you want to use the new password encryption feature. it’s recommended.



enter image description hereFigure-6: password encryption feature



enter image description hereFigure-7: Configuring mysql communuty server



Special Notes on Upgrading the Shared Client Libraries



  • You can install the shared client libraries from MySQL APT repository
    by the following command (see Installing Additional MySQL Products
    and Components with APT for more details):shell> sudo apt-get install libmysqlclient20


  • If you already have the shared client libraries installed from you
    Linux platform's software repository, it can be updated by the MySQL
    APT repository with its own package by using the same command (see
    Replacing the Native Distribution by an APT Update for more details).


  • After updating MySQL using the APT repository, applications compiled
    with older versions of the shared client libraries should continue to
    work.

To install the shared client libraries:



$ sudo apt-get install libmysqlclient18


enter image description hereFigure-8: install the shared client libraries



The MySQL services should start automatically after installation, check its status to ensure that it is up and running.



$ sudo service mysql status



After that, MySQL should be installed, you can logon by running the commands:



$ sudo mysql -u root -p



You should see MySQL welcome screen shown below:



enter image description hereFigure-8: Login into mysql



That how to install the latest version of MySQL on Ubuntu! Enjoy!!





share






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Ryan Akuszewski is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129029%2fgetting-strange-errors-while-downloading-mysql%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You may need to install the libaio library if it is not already present on your system:



    how to check if libaio is installed (quickly)



    $ apt-cache policy libaio1



    If it's installed, it will display the version installed, if it's not, it will display the lines of text. If it is installed then skip Install libaio and goto step-1.



    Install libaio



    $ sudo apt-get install libaio1 libaio-dev



    Note: use the following commands in order to fix all the dependencies for libaio1, libmecab2 and so on.



    $ sudo aptitude update 
    $ sudo aptitude upgrade


    Note: Make sure that aptitude has been installed in Ubuntu.



    enter image description here
    Figure-1: Install libaio1



    Step 1 Get MySQL APT Repository



    The MySQL package version that comes with Ubuntu default repositories is not the latest version. If you need to install the latest version of MySQL database, you may want to install its repository in Ubuntu.
    You can also use the command line to download, changing the version number of the package.



    $ cd /tmp/ && wget [https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb][2]


    Then run the commands below to install



    $ sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb



    When you run the commands above, you should get a config prompt. Just select OK as shown in the image below.



    MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



    Step 2: Install MySQL 8.0.13 Server and Client.



    Now that the repository is installed, run the commands below to install



    $ sudo apt update
    $ sudo apt install mysql-server mysql-client


    There are also packages with server-core and client-core in the package names. These
    contain binaries only and are installed automatically by the standard packages. Installing them by themselves will not result in a functioning MySQL setup.



    If you are being warned of unmet dependencies by dpkg, you can fix them using apt-get:



    $ sudo apt-get -f install # Fix/correct the system with any broken dependencies in place.
    $ cd ~


    Here are where the files are installed on the system:



    • All configuration files (like my.cnf) are under /etc/mysql

    • All binaries, libraries, headers, etc., are under /usr/bin and
      /usr/sbin

    • The data directory is under /var/lib/mysql

    Warning: Debian distributions of MySQL are also provided by other vendors. Be aware that they may differ from those built by Oracle in features, capabilities, and conventions (including communication setup), and that the instructions in this manual do not necessarily apply to installing them. The vendor's instructions should be consulted instead.



    When you run the commands above, you should get a config prompt. Just select OK as shown in the image below. But unfortunately, my observation was, MySQL was not supporting Cosmic Cuttlefish (Ubuntu 18.10), the installation was trying to abort, but you can select Ubuntu Bionic (18.04) and go ahead with installation. Use Up arrow and select ubuntu bionic (18.04) as shown in figure-1.



    enter image description hereFigure-2: Select ubuntu bionic (18.04) in the absence of ubuntu cosmic (18.10)



    MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



    enter image description here
    Figure-3: Select appropriate product



    During the installation, you should be prompted to create and confirm a MySQL root password.



    enter image description hereFigure-4: Enter password



    enter image description hereFigure-5: Re-Enter password



    Also, you confirm whether you want to use the new password encryption feature. it’s recommended.



    enter image description hereFigure-6: password encryption feature



    enter image description hereFigure-7: Configuring mysql communuty server



    Special Notes on Upgrading the Shared Client Libraries



    • You can install the shared client libraries from MySQL APT repository
      by the following command (see Installing Additional MySQL Products
      and Components with APT for more details):shell> sudo apt-get install libmysqlclient20


    • If you already have the shared client libraries installed from you
      Linux platform's software repository, it can be updated by the MySQL
      APT repository with its own package by using the same command (see
      Replacing the Native Distribution by an APT Update for more details).


    • After updating MySQL using the APT repository, applications compiled
      with older versions of the shared client libraries should continue to
      work.

    To install the shared client libraries:



    $ sudo apt-get install libmysqlclient18


    enter image description hereFigure-8: install the shared client libraries



    The MySQL services should start automatically after installation, check its status to ensure that it is up and running.



    $ sudo service mysql status



    After that, MySQL should be installed, you can logon by running the commands:



    $ sudo mysql -u root -p



    You should see MySQL welcome screen shown below:



    enter image description hereFigure-8: Login into mysql



    That how to install the latest version of MySQL on Ubuntu! Enjoy!!





    share



























      0














      You may need to install the libaio library if it is not already present on your system:



      how to check if libaio is installed (quickly)



      $ apt-cache policy libaio1



      If it's installed, it will display the version installed, if it's not, it will display the lines of text. If it is installed then skip Install libaio and goto step-1.



      Install libaio



      $ sudo apt-get install libaio1 libaio-dev



      Note: use the following commands in order to fix all the dependencies for libaio1, libmecab2 and so on.



      $ sudo aptitude update 
      $ sudo aptitude upgrade


      Note: Make sure that aptitude has been installed in Ubuntu.



      enter image description here
      Figure-1: Install libaio1



      Step 1 Get MySQL APT Repository



      The MySQL package version that comes with Ubuntu default repositories is not the latest version. If you need to install the latest version of MySQL database, you may want to install its repository in Ubuntu.
      You can also use the command line to download, changing the version number of the package.



      $ cd /tmp/ && wget [https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb][2]


      Then run the commands below to install



      $ sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb



      When you run the commands above, you should get a config prompt. Just select OK as shown in the image below.



      MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



      Step 2: Install MySQL 8.0.13 Server and Client.



      Now that the repository is installed, run the commands below to install



      $ sudo apt update
      $ sudo apt install mysql-server mysql-client


      There are also packages with server-core and client-core in the package names. These
      contain binaries only and are installed automatically by the standard packages. Installing them by themselves will not result in a functioning MySQL setup.



      If you are being warned of unmet dependencies by dpkg, you can fix them using apt-get:



      $ sudo apt-get -f install # Fix/correct the system with any broken dependencies in place.
      $ cd ~


      Here are where the files are installed on the system:



      • All configuration files (like my.cnf) are under /etc/mysql

      • All binaries, libraries, headers, etc., are under /usr/bin and
        /usr/sbin

      • The data directory is under /var/lib/mysql

      Warning: Debian distributions of MySQL are also provided by other vendors. Be aware that they may differ from those built by Oracle in features, capabilities, and conventions (including communication setup), and that the instructions in this manual do not necessarily apply to installing them. The vendor's instructions should be consulted instead.



      When you run the commands above, you should get a config prompt. Just select OK as shown in the image below. But unfortunately, my observation was, MySQL was not supporting Cosmic Cuttlefish (Ubuntu 18.10), the installation was trying to abort, but you can select Ubuntu Bionic (18.04) and go ahead with installation. Use Up arrow and select ubuntu bionic (18.04) as shown in figure-1.



      enter image description hereFigure-2: Select ubuntu bionic (18.04) in the absence of ubuntu cosmic (18.10)



      MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



      enter image description here
      Figure-3: Select appropriate product



      During the installation, you should be prompted to create and confirm a MySQL root password.



      enter image description hereFigure-4: Enter password



      enter image description hereFigure-5: Re-Enter password



      Also, you confirm whether you want to use the new password encryption feature. it’s recommended.



      enter image description hereFigure-6: password encryption feature



      enter image description hereFigure-7: Configuring mysql communuty server



      Special Notes on Upgrading the Shared Client Libraries



      • You can install the shared client libraries from MySQL APT repository
        by the following command (see Installing Additional MySQL Products
        and Components with APT for more details):shell> sudo apt-get install libmysqlclient20


      • If you already have the shared client libraries installed from you
        Linux platform's software repository, it can be updated by the MySQL
        APT repository with its own package by using the same command (see
        Replacing the Native Distribution by an APT Update for more details).


      • After updating MySQL using the APT repository, applications compiled
        with older versions of the shared client libraries should continue to
        work.

      To install the shared client libraries:



      $ sudo apt-get install libmysqlclient18


      enter image description hereFigure-8: install the shared client libraries



      The MySQL services should start automatically after installation, check its status to ensure that it is up and running.



      $ sudo service mysql status



      After that, MySQL should be installed, you can logon by running the commands:



      $ sudo mysql -u root -p



      You should see MySQL welcome screen shown below:



      enter image description hereFigure-8: Login into mysql



      That how to install the latest version of MySQL on Ubuntu! Enjoy!!





      share

























        0












        0








        0







        You may need to install the libaio library if it is not already present on your system:



        how to check if libaio is installed (quickly)



        $ apt-cache policy libaio1



        If it's installed, it will display the version installed, if it's not, it will display the lines of text. If it is installed then skip Install libaio and goto step-1.



        Install libaio



        $ sudo apt-get install libaio1 libaio-dev



        Note: use the following commands in order to fix all the dependencies for libaio1, libmecab2 and so on.



        $ sudo aptitude update 
        $ sudo aptitude upgrade


        Note: Make sure that aptitude has been installed in Ubuntu.



        enter image description here
        Figure-1: Install libaio1



        Step 1 Get MySQL APT Repository



        The MySQL package version that comes with Ubuntu default repositories is not the latest version. If you need to install the latest version of MySQL database, you may want to install its repository in Ubuntu.
        You can also use the command line to download, changing the version number of the package.



        $ cd /tmp/ && wget [https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb][2]


        Then run the commands below to install



        $ sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb



        When you run the commands above, you should get a config prompt. Just select OK as shown in the image below.



        MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



        Step 2: Install MySQL 8.0.13 Server and Client.



        Now that the repository is installed, run the commands below to install



        $ sudo apt update
        $ sudo apt install mysql-server mysql-client


        There are also packages with server-core and client-core in the package names. These
        contain binaries only and are installed automatically by the standard packages. Installing them by themselves will not result in a functioning MySQL setup.



        If you are being warned of unmet dependencies by dpkg, you can fix them using apt-get:



        $ sudo apt-get -f install # Fix/correct the system with any broken dependencies in place.
        $ cd ~


        Here are where the files are installed on the system:



        • All configuration files (like my.cnf) are under /etc/mysql

        • All binaries, libraries, headers, etc., are under /usr/bin and
          /usr/sbin

        • The data directory is under /var/lib/mysql

        Warning: Debian distributions of MySQL are also provided by other vendors. Be aware that they may differ from those built by Oracle in features, capabilities, and conventions (including communication setup), and that the instructions in this manual do not necessarily apply to installing them. The vendor's instructions should be consulted instead.



        When you run the commands above, you should get a config prompt. Just select OK as shown in the image below. But unfortunately, my observation was, MySQL was not supporting Cosmic Cuttlefish (Ubuntu 18.10), the installation was trying to abort, but you can select Ubuntu Bionic (18.04) and go ahead with installation. Use Up arrow and select ubuntu bionic (18.04) as shown in figure-1.



        enter image description hereFigure-2: Select ubuntu bionic (18.04) in the absence of ubuntu cosmic (18.10)



        MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



        enter image description here
        Figure-3: Select appropriate product



        During the installation, you should be prompted to create and confirm a MySQL root password.



        enter image description hereFigure-4: Enter password



        enter image description hereFigure-5: Re-Enter password



        Also, you confirm whether you want to use the new password encryption feature. it’s recommended.



        enter image description hereFigure-6: password encryption feature



        enter image description hereFigure-7: Configuring mysql communuty server



        Special Notes on Upgrading the Shared Client Libraries



        • You can install the shared client libraries from MySQL APT repository
          by the following command (see Installing Additional MySQL Products
          and Components with APT for more details):shell> sudo apt-get install libmysqlclient20


        • If you already have the shared client libraries installed from you
          Linux platform's software repository, it can be updated by the MySQL
          APT repository with its own package by using the same command (see
          Replacing the Native Distribution by an APT Update for more details).


        • After updating MySQL using the APT repository, applications compiled
          with older versions of the shared client libraries should continue to
          work.

        To install the shared client libraries:



        $ sudo apt-get install libmysqlclient18


        enter image description hereFigure-8: install the shared client libraries



        The MySQL services should start automatically after installation, check its status to ensure that it is up and running.



        $ sudo service mysql status



        After that, MySQL should be installed, you can logon by running the commands:



        $ sudo mysql -u root -p



        You should see MySQL welcome screen shown below:



        enter image description hereFigure-8: Login into mysql



        That how to install the latest version of MySQL on Ubuntu! Enjoy!!





        share













        You may need to install the libaio library if it is not already present on your system:



        how to check if libaio is installed (quickly)



        $ apt-cache policy libaio1



        If it's installed, it will display the version installed, if it's not, it will display the lines of text. If it is installed then skip Install libaio and goto step-1.



        Install libaio



        $ sudo apt-get install libaio1 libaio-dev



        Note: use the following commands in order to fix all the dependencies for libaio1, libmecab2 and so on.



        $ sudo aptitude update 
        $ sudo aptitude upgrade


        Note: Make sure that aptitude has been installed in Ubuntu.



        enter image description here
        Figure-1: Install libaio1



        Step 1 Get MySQL APT Repository



        The MySQL package version that comes with Ubuntu default repositories is not the latest version. If you need to install the latest version of MySQL database, you may want to install its repository in Ubuntu.
        You can also use the command line to download, changing the version number of the package.



        $ cd /tmp/ && wget [https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb][2]


        Then run the commands below to install



        $ sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb



        When you run the commands above, you should get a config prompt. Just select OK as shown in the image below.



        MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



        Step 2: Install MySQL 8.0.13 Server and Client.



        Now that the repository is installed, run the commands below to install



        $ sudo apt update
        $ sudo apt install mysql-server mysql-client


        There are also packages with server-core and client-core in the package names. These
        contain binaries only and are installed automatically by the standard packages. Installing them by themselves will not result in a functioning MySQL setup.



        If you are being warned of unmet dependencies by dpkg, you can fix them using apt-get:



        $ sudo apt-get -f install # Fix/correct the system with any broken dependencies in place.
        $ cd ~


        Here are where the files are installed on the system:



        • All configuration files (like my.cnf) are under /etc/mysql

        • All binaries, libraries, headers, etc., are under /usr/bin and
          /usr/sbin

        • The data directory is under /var/lib/mysql

        Warning: Debian distributions of MySQL are also provided by other vendors. Be aware that they may differ from those built by Oracle in features, capabilities, and conventions (including communication setup), and that the instructions in this manual do not necessarily apply to installing them. The vendor's instructions should be consulted instead.



        When you run the commands above, you should get a config prompt. Just select OK as shown in the image below. But unfortunately, my observation was, MySQL was not supporting Cosmic Cuttlefish (Ubuntu 18.10), the installation was trying to abort, but you can select Ubuntu Bionic (18.04) and go ahead with installation. Use Up arrow and select ubuntu bionic (18.04) as shown in figure-1.



        enter image description hereFigure-2: Select ubuntu bionic (18.04) in the absence of ubuntu cosmic (18.10)



        MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive.



        enter image description here
        Figure-3: Select appropriate product



        During the installation, you should be prompted to create and confirm a MySQL root password.



        enter image description hereFigure-4: Enter password



        enter image description hereFigure-5: Re-Enter password



        Also, you confirm whether you want to use the new password encryption feature. it’s recommended.



        enter image description hereFigure-6: password encryption feature



        enter image description hereFigure-7: Configuring mysql communuty server



        Special Notes on Upgrading the Shared Client Libraries



        • You can install the shared client libraries from MySQL APT repository
          by the following command (see Installing Additional MySQL Products
          and Components with APT for more details):shell> sudo apt-get install libmysqlclient20


        • If you already have the shared client libraries installed from you
          Linux platform's software repository, it can be updated by the MySQL
          APT repository with its own package by using the same command (see
          Replacing the Native Distribution by an APT Update for more details).


        • After updating MySQL using the APT repository, applications compiled
          with older versions of the shared client libraries should continue to
          work.

        To install the shared client libraries:



        $ sudo apt-get install libmysqlclient18


        enter image description hereFigure-8: install the shared client libraries



        The MySQL services should start automatically after installation, check its status to ensure that it is up and running.



        $ sudo service mysql status



        After that, MySQL should be installed, you can logon by running the commands:



        $ sudo mysql -u root -p



        You should see MySQL welcome screen shown below:



        enter image description hereFigure-8: Login into mysql



        That how to install the latest version of MySQL on Ubuntu! Enjoy!!






        share











        share


        share










        answered 3 mins ago









        MarmayogiMarmayogi

        70737




        70737




















            Ryan Akuszewski is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Ryan Akuszewski is a new contributor. Be nice, and check out our Code of Conduct.












            Ryan Akuszewski is a new contributor. Be nice, and check out our Code of Conduct.











            Ryan Akuszewski is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129029%2fgetting-strange-errors-while-downloading-mysql%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»