Skip to content

Instantly share code, notes, and snippets.

@ahmadhasankhan
Last active November 9, 2024 20:53
Show Gist options
  • Select an option

  • Save ahmadhasankhan/48fc9fc9a19807daef1622751a56884b to your computer and use it in GitHub Desktop.

Select an option

Save ahmadhasankhan/48fc9fc9a19807daef1622751a56884b to your computer and use it in GitHub Desktop.
Install MySQL 5.5.xx on Ubuntu
@3h5a9

3h5a9 commented Sep 28, 2020

Copy link
Copy Markdown

hello
thank you for your nice tutorial.
and it up and running.
but why it is showing the following error when i an giving the commang mysql --version

here is the error
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

@leoneDuarte

Copy link
Copy Markdown

Ola esse Funcionou para min

Se der esse erro:
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Esse comando resolve
apt-get install libncurses5

@madindo

madindo commented Nov 5, 2020

Copy link
Copy Markdown

got this working on ubuntu 20.04... you're my hero

@avi7611

avi7611 commented Nov 10, 2020

Copy link
Copy Markdown

which mysql-client version i need to install with this ?

@JTorres87

Copy link
Copy Markdown

If anyone runs in to the error
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Simply install libncurses5
sudo add-apt-repository universe
sudo apt-get install libncurses5

You sir are a life saver and have made our lives easier. Thank You

@jascadev

Copy link
Copy Markdown

Thank you very much for these instructions!

@mostafijurr

Copy link
Copy Markdown

While I am trying to log in using root user, but it shows these errors.
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

@acosonic

acosonic commented Jul 1, 2021 •

Copy link
Copy Markdown

While I am trying to log in using root user, but it shows these errors.
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

@mostafijurr have you tried answer of @JTorres87 ? Take a look at second comment above yours.

@mostafijurr

Copy link
Copy Markdown

@acosonic I have tried with this. but it is not working. its shows errors.
image

@acosonic

acosonic commented Jul 2, 2021

Copy link
Copy Markdown

@acosonic I have tried with this. but it is not working. its shows errors.
image

This would now be a different problem... What happens if you sudo su, then mysql -u root ... ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment