Ubuntu 18.04 installing samba gets following error for package - samba

When try to install samba on ubuntu 18.04, it gives following error for the samba package.
Python version installed on system : 2.7.5rc1

Related

How to install MySQL 8 or 5.7 on Amazon Linux AMI 2018.03 rhel fedora

I am trying install MySQL 8 or 5.7 in my machine , But facing this issue with this
No package mysql-server available sometimes.
If I try this sudo yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
I am getting like this Examining /var/tmp/yum-root-gqFfuQ/mysql57-community-release-el7-9.noarch.rpm: mysql57-community-release-el7-9.noarch
can any one suggest me that way to install MySQL 8 or 5.7 in my system , System details listed below
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Thanks.

How to install MySql 8 in AWS Linux 1?

Currently, MySQL 5.5 is installed in Amazon Linux AMI 2018.03. Now I want to upgrade MySQL to the latest version 8.0 and remove old MySQL 5.5 so that I can execute SQL scripts which runs successfully on MySQL 8.
How can we upgrade to MySql 8?
Here is OS details:
$ cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
which rhel fedora version is that? So that as per OS version we can download specific MySQL rpm from MySQL server.
I would go with something like that:
yum install https://dev.mysql.com/get/mysql80-community-release-el6-3.noarch.rpm
yum update
that will install new source for mysql repo, and then you can go with:
yum install mysql-community-server

dyld: Library not loaded: /usr/local/opt/unixodbc/lib/libodbc.2.dylib

I am facing the following issue on Mac when I run rake ts:index for Thinking Sphinx indexing:
dyld: Library not loaded: /usr/local/opt/unixodbc/lib/libodbc.2.dylib
I am using mysql version 8.0.13 for osx10.13 on x86_64.
How can I resolve this issue?
Insalling unixodbc on Mac resolved this for me.
brew install unixodbc
In addition to
brew install unixodbc
you can also install the mssql drivers after this with the following brew instructions:
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install msodbcsql mssql-tools
After this I was able to use "ODBC Driver 17 for SQL Server" in python.

Unable to Install mysql workbench on ubuntu 15.10

I am using Ubuntu LTS 15.10. I am unable to install mysql workbench.
I have tried all version of mysql-version but still getting this issue:

MacPort and py26-mysql os x lion

I can't install py26-mysql with macport.
sudo port install py26-mysql
and I get
Error: org.macports.configure for port py26-mysql returned: you must select either mysql4, mysql5, mysql51 or mysql55
. I have install mysql5 and mysql5-server with mac port. On my mac i have juste mysql5.
Thanks for your help.
I have encountered a similar problem when installing MySQL adaptor for python. I'm assuming you want to install this package [http://mysql-python.sourceforge.net/].
My solution was to install the package through pip (a Python Package Installer), which you can get from mac ports. On mac ports there are several versions of pip based on which version of python you're running, for example if you're running python 2.6 the pip package name on macports is:
py26-pip
and for python 2.7 its:
py27-pip
Once you've done that you can install the same py26-mysql package running the following in the commandline:
sudo pip-2.6 install mysql-python
(assuming python 2.6)
Hope that helps