Tag Info

Hot answers tagged

4

There is no package named libmysqlc++-dev in Ubuntu. If you want the development files for the MySQL C++ library bindings install the package libmysql++-dev (without the c).


3

There should be files named mysql at least at these locations /etc/mysql/ /etc/init.d/ You can check if there is a running mysql with... ps -ef |grep mysql Or type mysql on command line. It will show an error if there is a mysql: ERROR 1045 (28000): Access denied for user 'xxxx'@'localhost' (using password: NO) If there is no mysql in /etc/ you do ...


3

You can check the datadir in the various configuration files: grep datadir /etc/mysql/my.cnf grep datadir /etc/mysql/mysql.conf.d/mysqld.cnf grep datadir /etc/mysql/conf.d/mysql.cnf grep datadir ~/.my.cnf By priority: ~/.my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf With these lines in /etc/mysql/my.cnf !includedir /etc/mysql/conf.d/ !includedir ...


2

Yes, in theory this is possible, as long as you make sure that neither service is running at the time of the copy/paste, and the new server is the same version as the old one. However, as you are well aware, it is not the recommended way.


1

At installalation mysql-server asks for a password, this is for the mysal root user,who is not identical to your systems root user. Mysql has its own users. Look in /etc/mysql/conf.d/debian.cnf for user debian-sys-maint user and pawword and connect with mysql -u debian-sys-maint -p It will ask for the password that is also in that file.


1

You can't access mysql with user root without using a username, this is normal behavior of mysql. All you have is to provide the password using -p option mysql -u vindhya -p userPassword


1

I would combine parts 1 and 2. MySql allows you to take encrypted backups as detailed here: mysqlbackup --backup-image=/backups/image.enc --encrypt --key-file=/meb/key --backup-dir=/var/tmp/backup backup-to-image The next bit would be to push the image up to a cloud service. This comes down to personal preference. If you like Dropbox, it has a ...


1

I've developed some steps to install php 5.3 + Apache on Ubuntu 14. First, write the following repositories to the file /etc/apt/sources.list.d/ubuntu-old.list deb http://55.archive.ubuntu.com/ubuntu/ trusty main deb http://security.ubuntu.com/ubuntu precise-security main universe deb http://cz.archive.ubuntu.com/ubuntu precise main universe run apt-get ...


1

This is so easy. Using it in Ubuntu 14.04 LTS and it's working without a hitch: Create a new file via terminal by running the command below gedit ~/.local/share/applications/lamp.desktop Copy and paste this text inside [Desktop Entry] Name=LAMP GenericName=LAMP X-GNOME-FullName=LAMP Comment=Open services of your LAMP server Exec=gksu service apache2 ...


1

Just luck that I saw your question. This happened about 2 weeks ago to a friend at work. Since I saw the version was 14.10, I suggested to upgrade to 15.04 and then we could proceed on figuring out what was wrong. After upgrading, his issues with Workbench were gone. So there might be a couple of things that could be causing this: Version of the Libraries ...


1

Because you don't give us anymore information … All packages are in the Precise repositories: php5gd php5-mcrypt You could install the packages separately: sudo apt-get install php5-mcrypt sudo apt-get install phpmyadmin and maybe (because recommended) sudo apt-get install php5-gd


1

To install these packages in the command-line you can type sudo apt-get install lamp-server^ phpmyadmin There is also extensive documentation how to set up a LAMP environment with phpmyadmin at https://help.ubuntu.com/community/ApacheMySQLPHP | https://help.ubuntu.com/14.04/serverguide/lamp-applications.html Feel free to ask more specific questions if ...


1

1. Installing and setting up the LAMP stack Open Terminal by hitting Ctrl+Alt+T Update the apt cache and install lamp-server^ by running sudo apt-get update && sudo apt-get install lamp-server^ (you should be able to go through the on-screen setup; it's just a matter of setting up the mysql root password) 2. Installing and setting up PHPMyAdmin ...


1

Fixed by creating /etc/my.cnf prior to installing MySQL only containing [mysqld] innodb_use_native_aio = 0 Source


1

a simple hack: sudo ln -s /var/run/mysql/mysql.sock /tmp/mysql.sock sudo service mysqld restart If this doesn't work then try this: First find open socket files for mysql in your system sudo find / -type s 2>/dev/null | grep mysql For my case it's /var/lib/mysql/mysql.sock Then edit the configuration file /etc/my.cnf sudo gedit ...


1

You are adding an unwanted c in libmysqlc++-dev. It should be libmysql++-dev. sudo aptitude show libmysql++-dev Package: libmysql++-dev State: not installed Version: 3.2.1+pristine-1 Priority: optional Section: universe/libdevel Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: i386 Uncompressed ...



Only top voted, non community-wiki answers of a minimum length are eligible