Hey everyone what is the difference between the linux packages:
mysql-server and php5-mysql?
Do I need both or just one?
Thanks
You need no one if you are not a going to use development features and database.
If you are looking to start website development, install both along with Apache web server.
Related
I'm tying to upgrade the Zabbix Server from 3.0 to 3.2 on Ubuntu 16.04 that I didn't install by myself and I don't know if it was istalled form repository or sources. I've done all the necessary backups and when I'm tying to execute this command
sudo apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent
I get this message
Skipping zabbix-server-mysql, it is not installed and only upgrades
are requested.
I'm using MySQL with a working DB for Zabbix. Can the Zabbix Server be installd without the zabbix-server-mysql package and still use the MySQL database? If yes, does it mean that the previous user installed it from sources and not from the repository?
I didn't find similar problems searching the net so maybe someone here can help me.
dpkg-query -l 'zabbix*'
You'll see if Zabbix has been installed through the packages.
According to the error message you have, I would say definitely no.
Do a typical install through the packages, re-enter the login/pass of your MySQL DB and it will upgrade it. Don't forget to make a backup first, just in case something goes wrong.
I would like to use mysqlbackup to do incremental backups. However I can't figure out how to install it.
I have mysql-server installed. The documentation (http://dev.mysql.com/doc/mysql-enterprise-backup/3.7/en/mysqlbackup.incremental.html) seems to suggest it should already be installed but it's not. I'm running mysql on ubuntu.
Mysqlbackup is part of the MySQL Enterprise Backup:
When using the MySQL Enterprise Backup product, you primarily work with the mysqlbackup command.
Enterprise Backup, on the otherhand, is part of the MySQL Enterprise Edition which is available from Oracle store.
sudo apt-get install automysqlbackup
If you use linux.First u can download the install soft from web.
e.g. meb_xxxx.rpm.
Then run the command: rpm -ivh meb_xxxx.rpm
The MEB will install in the path /opt/mysql/meb_xxxx default.
Then u can use the mysqlbackup commande in the ./bin/ directory.
You're in luck, someone recently wrote a comprehensive writeup of how to install automysqlbackup on Ubuntu.
https://gist.github.com/janikvonrotz/9488132
They use a different approach to installing it - not using apt-get, but downloading the source and running the install shell script. I hope this works for you, good luck!
I'm using CentOS 6, and trying to create a virtual mirror on a new server of an old one (which someone else setup). As much as possible, I want keep everything with the same version, but I've started from scratch and am documenting everything. By default, yum would install MySQL 5.1.73. I downloaded MySQL community v5.1.69 and installed it manually. This required installing a "shared compatibility" package of MySQL v5.1.69 first, and removing mysql-libs.x86_64. With that in place, I successfully mirrored MySQL.
Now, I'm trying to install Postfix. Yum wants to pull version 2.6.6-6. This fails because it requires a dependency that it attempts to install as well: mysql-libs.x86_64 v.5.1.73-5. It splits out a pile of errors messages which are all similar to this:
Transaction Check Error:
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.73-5.el6_6.x86_64 conflicts with file from package MySQL-server-community-5.1.69-1.rhel5.x86_64
My old server is using postfix v2.6.6-2, which is apparently compatible with MySQL v5.1.69. I found the rpm for that version of postfix. It doesn't install, because it requires mysql-libs. I can't install mysql-libs v.5.1.69, because it conflicts with the MySQL community edition (also 5.1.69) that I installed. I tried to install the MySQL 5.1.73 "shared compatibility" package, but that conflicts with MySQL community too.
I'm going in circles. Is the only way to break this chain to uninstall MySQL community? Must I just use the v5.1.73 default, and the Postfix 2.6.6-6? I don't expect any real problems, but I'm going to end up with slightly different versions of MySQL and Postfix then I am trying hard to mirror.
I gave up, uninstalled all the MySQL community packages, and just installed the out of the box yum MySQL and Postfix. That works, but I now have different versions of this software on these two servers as a result.
I have created an instance of ubuntu 10.04 lucid lynx on amazon ec2 cloud. Now I need to configure to run my web application which runs of java servlet and mysql 5.1. Since I am novice or newbie to this environment I need some help or reference material to do it. If you know such links or tutorial kindly let me know.
Thanks a ton
sudo apt-get install mysql-server tomcat6
That's really as complicated as it gets. Depending on how you do your webapp deployment, you'll want to install tomcat6-admin
sudo apt-get install tomcat6-admin
Config files can be found in
/etc/mysql
/etc/tomcat6
/etc/default/tomcat6.
Start and stop servers using
/etc/init.d/tomcat6 start|stop
/etc/init.d/mysql start|stop
There are different mysql install packages for differential platforms.
http://www.mysql.com/downloads/mysql/#downloads
I'm using CentOS, which install package should I download?
The Generic Linux or Rethat/Oracle Enterprise Linux?
PS: I cannot install it with yum because of some irregular Transation error.
Thanks.
You can safely use the Red Hat & Oracle Enterprise Linux version on CentOS. I've always used those Rpm without any problems. CentOS aims to be 100% binary compatible with RedHat.
I would go with the Redhat version. CentOS uses RedHat source code.