Questions regarding the MySQL database server, client and tools.

learn more… | top users | synonyms

1
vote
4answers
186 views

Unmet dependencies unable to fix

I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal. Recently I was trying to install mysql-server which generated error ...
1
vote
2answers
27 views

how to use mysql with less and -F

I want to use less as a pager for mysql client. I want to add -F to force quit for short outputs. But I can't combine both correctly. root@jupiter:/# mysql -p -u root -h localhost --pager=less -F ...
1
vote
1answer
40 views

unable to excecute mysql from command line

I've installed xampp. I want to use mysql only and i want to use it in command line not in php myadmin. how can i do that? I've installed mysql again with sudo apt-get install mysql....5.5 so I've ...
1
vote
0answers
55 views

Can`t reinstall mysql on kubuntu

Every time I try to install MySQL I get Setup package mysql-client-5.5 (5.5.41-0ubuntu0.14.04.1) … Setup package mysql-server-5.5 (5.5.41-0ubuntu0.14.04.1) … 150415 15:35:15 [ERROR] Can't find ...
0
votes
1answer
82 views

Building ubuntu touch app with sql (mysql) support problem

i`m trying to develop simple ubuntu application. This application should connect to remove mysql server, query and display data in UbuntuListView. Project was created in Qt Creator 3.1.1 as QML app ...
2
votes
1answer
56 views

mysql and do-release-upgrade

Could someone tell me what happens to mysql databases when you run a do-release-upgrade? When I do the dry run for do-release-upgrade I see that it will uninstall mysql client and server and install ...
0
votes
0answers
326 views

http://localhost/phpmyadmin Not found

I have tried to run myphpadmin and I get this message: Not Found The requested URL `/phpmyadmin` was not found on this server. Apache/2.4.10 (Ubuntu) Server at localhost Port 80 I have reinstalled ...
0
votes
3answers
80 views

cant remotely connect to mysql

I've got a 3 servers & 1 windows machine running in a LAN HTTP server (Apache2, PHP5 & phpmyadmin) - 10.0.0.10 DNS - 10.0.0.1 MySQL - 10.0.0.40 Windows - 10.0.0.157 i've just installed a ...
0
votes
1answer
63 views

Can't install phpmyadmin on ubuntu 14.04+apache2

I installed phpmyadmin via sudo apt-get install phpmyadmin but here what gives me http://localhost/phpmyadmin/: php5, phpmyadmin etc. modules are activated for apache. How can I fix this?
0
votes
0answers
167 views

Unable to access phpMyAdmin remotely

I've got a 3 servers & 1 windows machine running in a LAN HTTP server (Apache2, PHP5 & phpmyadmin) - 10.0.0.10 DNS - 10.0.0.1 MySQL - 10.0.0.40 Windows - 10.0.0.157 I'm currently trying to ...
2
votes
2answers
67 views

Automate user creation [closed]

I have a site for my students, and it is running on Ubuntu 14.04. When my students register themselves on my site, I store user info in an MySQL DB. I would like to give my students a website on my ...
0
votes
2answers
251 views

Installing MySQL Workbench ⇒ Error

I have installed MySQL Workbench in the past using MySQL APT. My software repositories lists have recently been updated and since then my MySQL Workbench disappeared. It is still on the disk but it ...
0
votes
0answers
54 views

MySQL service status shown as not running with --status-all

I'm having a problem with my mysql server which does not seem to work properly. On Ubuntu 14.10 I run service --status-all and get [ - ] mysql However, after service mysql status I receive mysql ...
1
vote
1answer
32 views

Mysql failure packages

root@dedi-fr-36189:~# apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean ...
1
vote
2answers
81 views

Connecting phpmyadmin to seperate mysql server

I've got what's probably a very easy question to solve, but I've been stuck on it for a few days now. I've got 3 servers running in a small network, DNS, HTTP and MySQL. I've got apache2 and PHP5 ...
-1
votes
1answer
18 views

not able to connect to phpmyadin

The apache server stopped and lamp is started. The terminal shows lamp server is working fine but not able to enter phpmyadmin
0
votes
0answers
29 views

dpkg: error processing php5-mysql (-configure): the thread installed the script post-installation error 10 exit code returned

I'm trying to install php5-mysql but when I put the command apt-get install php5-mysql I get this error of dpkg. http://pastebin.com/ZEn4fydB Note: the operating system is in Spanish.
-2
votes
1answer
208 views

root@controller:~# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Running 14.0.2 LTS version Server restarted and I was not able to access MYSQL root@controller:~# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
0
votes
1answer
245 views

PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused

I have a different server for my database. When I connected to database with PDO, I used the IP address of database VM for host parameter: $dbh = new ...
0
votes
1answer
252 views

Access Denied for user 'linuxuser'@'localhost' (using password: no)

My client asked me to move his Wordpress site from a shared server to AWS. The AWS EC2 instance is Ubuntu 14.04 LTS with PHP 5.5.9 with MySQL 5.5.38. Old server has PHP 5.4.30 and MySQL 5.5.42. ...
-1
votes
1answer
21 views

custom kernel for secure system

I am pretty new to the linux community and I've started learning it for last few months. After learning the basics of commands and system architecture im now trying to learn the grass root level ...
0
votes
0answers
46 views

apt-get install problem with MySQL Ubuntu 12.04 [duplicate]

I have a working system with Ubuntu 12.04 and LAMP For some reason i am unable to install any new software on system. Every time I try to use apt-get install i get the following error: Example: ...
1
vote
1answer
44 views

where to save your files of php in ubuntu to load on server? [duplicate]

How to save our php files so that we can load on our server . I have installed apache2 , php, and mySql . also I don't know how to connect these 3 so that I can simply work on my text editor. Please ...
0
votes
1answer
111 views

Reinstall of mysql server hangs

I am trying to reinstall mysql-server-5.5 because mysql server would not start. I purged everything but the install fails I am trying to reinstall using sudo apt-get install mysql-server-5.5 and it ...
0
votes
1answer
72 views

How to add apache2 , php and mySql to eclipse?

I'm using Ubuntu 14.04 ,i'm new to Ubuntu,I already installed apache2 , php and mySql . Now I want to add these to eclipse so that I can work on this IDE . Please help me I will be glad if you provide ...
-1
votes
1answer
131 views

Connect to mysql on another device [duplicate]

I have two device on my network LB (192.168.1.10) and RP1 (192.168.0.20) I am wanting all the MySQL stuff to be hosted on the LB and all the web stuff to be hosted on the RP1. I have installed ...
1
vote
2answers
174 views

Installing MySQL on Ubuntu creates kworker/systemd-udevd blocked for more than 120 seconds

I've tested it twice. First time was on Ubuntu 12.04 with MySQL 5.5. Now I've tried it on Ubuntu 14.04 and MySQL 5.6. Both were fresh installs. Right after MySQL finishes installing, I begin to get ...
0
votes
1answer
23 views

Major Server Issue

lately I have been loading my website, and almost every time I do (once or twice a day) the message: "Error establishing a database connection". I have resolved it temporarily by stopping and starting ...
1
vote
2answers
229 views

How to connect to db4free database using 'mysql' command from the terminal

I am running MySQL 5.5 on Ubuntu 14.04. I can open and work with local databases using mysql in the terminal. I can also run phpMyAdmin and access the database on db4free.net on the browser. However i ...
0
votes
0answers
49 views

Thunderbird password error when connecting to Linux Ubuntu Server with MySQL, Postfix, Dovecot

I'm trying to build a server that can host email and allow me to connect into the email server from thunderbird. I've followed these instructions ...
0
votes
1answer
24 views

remove the mysql server

root:~# sudo apt-get --purge remove mysql-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct ...
0
votes
0answers
51 views

to install numpy i get the following error of unmet depedency

While installing the numpy of python I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
2
votes
1answer
69 views

How can I set a symlink from /tmp/mysql.sock?

I've tried to set a symlink from /tmp/mysql.sock -> /var/run/mysqld/mysqld.sock however whenever I try to do it using the following command: sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock ...
-1
votes
1answer
76 views

Recommanded step for Apache and mysql Performance tuning

I googling lots of sites and forums to solve issue but i didn't get result as my expectation. I installed successfully Ubuntu 14.04 LTS on ProLiant DL360 hardware with LAMP environment. Hardware ...
0
votes
0answers
62 views

mysql installation fails

I am trying to install mysql 5.5 / 5.6 on ubuntu 12.04. Each time the installation asks to specify the password then fails with the following error: An error occurred while setting the password ...
0
votes
0answers
40 views

MySQL 5.5 server awkward error 1146

I am a new user of both Ubuntu and MySQL. I wrote a .sql file using gedit, and when I try to load it the MySQL using source /path/to/file the tables are created, but it doesn't insert data into the ...
0
votes
1answer
84 views

Unable to reinstall mysql on Ubuntu

Linux newb, so please be gentle. Tried to start mysql using mysql -u root -p and I got the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
0
votes
0answers
38 views

How to run the MySQL on Ubuntu

i tried the command mysql o/p-ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) and sudo netstat -tap | grep mysql o/p=(Not all processes ...
0
votes
1answer
110 views

cant start xamp it gives error message like this

Starting XAMPP for Linux 1.5.3a... /opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory XAMPP: Starting Apache with SSL ... XAMPP: Error 127! Couldn't start Apache! ...
0
votes
0answers
73 views

Adding mysqli to php without recompiling it

I have php compiled and installed in a nonstandard location. I recently encountered an error: Fatal error: Class 'mysqli' not found perhaps because I configured php without --with-mysqli. I added ...
1
vote
1answer
97 views

MySQL will not start

Well, I seem to have totally broken MySQL, possibly through a combination of recently trying to upgrade mysql workbench, which needed me to install some mysql-apt-config package, which broke my usual ...
1
vote
1answer
79 views

How to execute a number of lines using xargs

I have a large sql dump that has 1 insert statement per line. I want to be able to pipe this to xargs so that I can slow down the writes. Basically I want to execute a number of lines, sleep, then ...
0
votes
0answers
17 views

Start mySQL with AppArmor on reboot

When my Ubuntu server (hosted by Rackspace) is rebooted/restarted, mySQL starts automatically as evidenced by phpMyAdmin working properly. However, my PHP code does not appear to work. When I manually ...
0
votes
1answer
43 views

Compiled mysql conflicts with already existing mysql

I have just installed mysql from source and used a paco wrapper to see the file copy locations for "make install". As per the paco log, I have the following : /usr/local/mysql/lib/libmysqlclient.a ...
0
votes
0answers
36 views

Phpmyadmin installation dependency error [duplicate]

I am using Ubuntu13.10 64 bit edition.When i tried to run sudo apt-get install phpmyadmin getting the following error Reading package lists... Done Building dependency tree ...
0
votes
1answer
74 views

How do I upgrade my g++, C++11 features do not work

the following code generates error std::string xyz="whatever"; int x=1; xyz+=std::to_string(x); //this is supposed to turn xyz into whatever1 from whatever Why am I using this approach? Because ...
2
votes
1answer
105 views

MySQL upgrade stuck at version selection

I am trying to upgrade my packages on Ubuntu 14.04 , Then MySQL is asking me to choose the server's version that I want to receive , I am stuck there , can't select any option [Including none] Tried ...
0
votes
0answers
29 views

Upgrading stuck on stage choose mysql | Ubuntu 14.04

Upgrading stuck on stage choose mysql! using sudo dpkg --configure -a did not helped. Got the same choice options for mysql in terminal but enter on OK does not continue to next. Stopping mysql ...
8
votes
1answer
3k views

Package upgrade hangs forever on mysql-apt-configure [closed]

Yesterday it got stuck with an update for MySql. The mysql-apt-config didn't finish for ours so I had to shut down the machine in the end. Today it suggested the same update again, but told me that I ...
0
votes
1answer
43 views

Did I install LAMP?

I just installed Ubuntu 14.10 server. While installing I asked it to install LAMP. But how do I tell if it is working? I tried http://192.168.0.20 which is my server, from a web browser on my ...