mysql-5.5

Can't start MySQL5.5 on Ubuntu 12.04 - “dpkg: dependency problems”

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 01:45:09
This appears to be a common problem on 12.04. I've tried everthing in this thread including: sudo apt-get clean sudo apt-get autoclean sudo apt-get remove --purge mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 sudo apt-get install mysql-server I still get the same old error. Installing/starting MySql5.5 looks like this: apt-get install -f mysql-server Reading package lists... Done Building dependency tree Reading state information... Done mysql-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not

MySQL: How to bulk SELECT rows with multiple pairs in WHERE clause

痴心易碎 提交于 2019-11-29 05:57:54
Let's say I have a table, email_phone_notes that looks like this: +-----------------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------------------+--------------+------+-----+---------+-------+ | email | varchar | NO | PRI | NULL | | | phone | varchar | NO | PRI | NULL | | | notes | text | NO | | 0 | | +-----------------------+--------------+------+-----+---------+-------+ So, each email/phone combination is unique, but you could have several email addresses with different phone numbers and vice versa. This is a little contrived

mysql running but cannot connect to 127.0.0.1

无人久伴 提交于 2019-11-28 08:32:31
问题 I have installed mysql55-server using macports. I can start the server successfully via: $ sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql55-server.plist And confirm I am running the correct mysql: $ which mysql /opt/local/lib/mysql55/bin/mysql If I run $mysql , I can connect successfully. If I then run: mysql> show databases; It shows two databases. Using Sequel Pro, I can connect via socket: u: root p: root Socket: /opt/local/var/run/mysql55/mysqld.sock Connects and loads

MySQL: How to bulk SELECT rows with multiple pairs in WHERE clause

流过昼夜 提交于 2019-11-27 23:48:49
问题 Let's say I have a table, email_phone_notes that looks like this: +-----------------------+--------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------------------+--------------+------+-----+---------+-------+ | email | varchar | NO | PRI | NULL | | | phone | varchar | NO | PRI | NULL | | | notes | text | NO | | 0 | | +-----------------------+--------------+------+-----+---------+-------+ So, each email/phone combination is unique, but you could

MySQL my.ini location

∥☆過路亽.° 提交于 2019-11-27 02:59:36
I have already seen http://dev.mysql.com/doc/refman/4.1/en/mysql-config-wizard-file-location.html how to know mysql my.cnf location and http://dev.mysql.com/doc/refman/5.1/en/option-files.html But I am still stuck with the ages old question! "Where is my my.ini" I am using windows server 2008 with mysql 5.5.28. I installed the service using mysqld --install and I am able to use the mysql server using sqlyog. But unfortunately I am not able to find my.ini in installation directory or not in c:\ neither in c:\windows nor in data_dir query show variables like "mysql_home" returned nothing as well

MySQL my.ini location

时光怂恿深爱的人放手 提交于 2019-11-26 10:19:53
问题 I have already seen http://dev.mysql.com/doc/refman/4.1/en/mysql-config-wizard-file-location.html how to know mysql my.cnf location and http://dev.mysql.com/doc/refman/5.1/en/option-files.html But I am still stuck with the ages old question! \"Where is my my.ini\" I am using windows server 2008 with mysql 5.5.28. I installed the service using mysqld --install and I am able to use the mysql server using sqlyog. But unfortunately I am not able to find my.ini in installation directory or not in