Debian :: Apt-get Install <program>-mysql - What Does This Do?
Nov 16, 2010
I just have a quick question. I was following a Snort setup guide and it told me to do apt-get install snort-mysql. I just wanted to understand the functionality of such a command where you specify a program and then do a -mysql (snort-mysql). Does this configure an SQL database for that specific application or what?
View 2 Replies
ADVERTISEMENT
Jul 12, 2010
I'm trying to install mysql on Lenny. I managed to get apache and php going just fine but i'm getting this error for mysql at the mo: The following packages have unmet dependencies.
mysql-client: Depends: mysql-client-5.1 but it is not going to be installed
mysql-server: Depends: mysql-server-5.1 but it is not going to be installed
E: Broken packages
I don'thave a cluse how to fix this. I've read that adding a line in sources.
View 7 Replies
View Related
Jun 5, 2010
I've just installed mysql-server (apt-get install mysql-server) in my debian vps, it ask for password of which i had provided. However after the install finishes, i run the command "mysql -u root -p", i entered my password but says "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES".
View 3 Replies
View Related
Sep 1, 2014
I would like to enable SSH on my debian server but not for MySQL. For MySQL, I want to connect normally.
View 7 Replies
View Related
Aug 29, 2011
I'm a Linux newbie. I want to install mysql-5.5.15-linux2.6-x86_64.tar.gz on a Debian box offline without using the apt command. How can I do this?
View 1 Replies
View Related
Mar 17, 2011
I want to install mysql query browser in debian
View 1 Replies
View Related
Aug 20, 2010
I can't get mysql to update from lenny (mysql-5.0) to squeeze (5.1). apt tries to start the server but comes up with some kind of configuration script error.
View 1 Replies
View Related
Feb 16, 2011
I have recently installed Debian 6.0. Tried to install a program ,but I could not do it. The prog is called IOmeter (sorry, can't link it). I have also tried the " sudo apt-get install command i the terminal. It's easy to install the prog in Windows.
View 2 Replies
View Related
May 29, 2010
[code]...
It says it requires version 2.17, but the one in the repository is libblkid1 (2.16.2-0) as seen on [URL]... I guess almost no one else is getting this as it isnt fixed! And it is such an important program (mkfs.ext*) Should i install the one from sid's repository? If this is such a huge bug as it seemes to be, why hasnt it been fixd for more than a day (after an "aptitude upgrade", then i noticed this).
View 2 Replies
View Related
Mar 28, 2011
Im trying to write a program that interacts with MySql in C . Im using slackware 13.1 64 bit and Ive installed MySql , getting help from this page : [URL] .
This is the program I have ( I know they arent any vars here , i just thought it wasnt necessary )
Code:
#include <stdio.h>
#include <mysql/my_global.h>
#include <mysql/my_sys.h>
#include <mysql/mysql.h>
[Code]....
This program is from the MySql website ( a tutorial they have up there ). When I run this program I get hundreds of lines of errors , nothing related to my program , but the headers, indicating that there are syntax errors and all kinds of other problems in them.
View 8 Replies
View Related
Mar 2, 2011
I'm interested in finding out, specifically, what causes daemon's to be shutdown when I shutdown Ubuntu? I'm use Ubuntu which is why I'm posting here, but I suppose this knowledge could apply to other Disto's too. Perhaps I'm better off to explain with an example:
I wrote a C++ that queries a Mysql database. I want it to run every time the computer is shutdown. I've verified the program works fine, and I've verified that I can run a program on shutdown of the computer by putting it in /etc/rc0.d. The problem is that by the time rc0.d runs my program, mysql has already been shutoff, and it can't connect.
So what I'm wondering is, is there a script or something at a higher level that goes around turning things like daemons as the System shutdowns, but before any of the scripts in rc0.d are run? (It doesn't look like anything in here is shutting down mysql). Something that actually calls mysql shutdown? How I can add my program to be run before mysql shuts down.
Otherwise, I might end up having to get the source code compile by own /sbin/shutdown and tweak it from there. Granted I might end up doing this anyway because there's more stuff I want to customize during shutdown (e.g. abort it under certain conditions), but I'm hoping not to go that far just yet.
View 2 Replies
View Related
Jan 29, 2011
I tried to install Vlc using the terminal (terminal as root). I've used the command aptitude install vlc. Instead of installing only vlc, my gnome desktop environment was removed, gdm was removed, many more programs was removed! What's the command for installing just a single program using the command line? I was used under Ubuntu to use the command sudo apt-get install [***]
View 14 Replies
View Related
Mar 4, 2011
I have downloaded the package but i dont know how to install and start the program.
View 10 Replies
View Related
Sep 5, 2010
I'm trying to write a simple program c++ to connect to Mysql database based in my 127.0.0.1 server:
int main (void) {
cout << "33[2J" << "33[0;0f";
MYSQL mysql;
MYSQL *conn;
[code]....
View 2 Replies
View Related
Mar 15, 2010
I have now almost completed my aim of using Debian and PClinuxOS on different installed hard disks. For PCLOS I use an On-Disk set of disks which I have installed on a separate hard disk which serves as a repository from Synaptic, which makes program install/remove very quick. Is it possible to do the same thing with the 5 DVD's for Debian lenny on another hard disk?
View 2 Replies
View Related
Jun 7, 2011
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
View 6 Replies
View Related
Jun 2, 2010
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
View 9 Replies
View Related
May 25, 2010
In looking at the release notes, I saw the comment File locations changes:
* MySQL socket file and pid file were moved from /var/lib/mysql to more reasonable location /var/run/mysql by default.
* MySQL log files are in /var/log/mysql. Not sure what I was supposed to do with that information. So I ignored it. Now, I am finding some issues with it. The web server works, but any connection to the database fails with 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)The thought dawned on me that maybe all my databases were erased and none set up. Going in to the terminal, I could connect and list and query the databases. So even though I backed them up, they still are there!
phpMyAdmin gives the same error message.
However, when I go into MySQL Administrator, it works fine.
I forgot where I saw it, but the socket is still set to var/lib/mysql. I could not find any mysql install log and would say what was in my cnf.my, but it still doesn't exist just as it has not in the past. Not sure if I should allow the MySQL Administrator to create it since I always ignored the prompt in the past and it worked. (Just wishing to keep the defaults)
At first I thought the upgrade upgraded the MySQL, but it's still 5.1.39 as I believe before. I've un-installed mysql-server and re-installed it with no change.
Can anyone can tell me how to get the socket to /var/run/mysql or what else is wrong? I read one place where mysql is supposed to set it up.
View 9 Replies
View Related
Oct 9, 2010
I want to install Eclips program from "Add/Remove Application" in Administration menu!I see this message and I click on 'Enable' button and I am connect to the Internet at the same time.But Eclips program did not install.This problem is for all programs , means my "Add/Remove Application" does not work properly
View 11 Replies
View Related
Feb 9, 2011
I have installed debian on my laptop and included during the installation the webserver version. Now I want to develop a page locally to test it before I put it on the web. I first had an old reflex, jumping straight away and installing xampp. But then I thought that I already all that it takes as I installed the webserver feature of debian. I installed phpmyadmin ( with the command #apt-get install phpmyadmin) as to be able to create and attribute databases but when I try to log in I have the following message:
"Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)"
I googled but I cannot find the mysql.conf (I searched using "find") but with no result. It is all very blury what is going on with this webserver option running on my laptop...
View 9 Replies
View Related
Aug 23, 2010
I have 5.0.51 on my development box, which just happens to be the one release not supported by my CMS software. I have messed with a few attempts to upgrade, but I don't know what I'm doing in that regard. Fortunately I have a virtual machine for testing.
View 4 Replies
View Related
Apr 8, 2015
I'm currently trying to set up FreeRADIUS with DaloRADIUS and I'm stuck at FreeRADIUS getting clients (as NAS-es) from the MySQL database.
FreeRADIUS will no longer start after uncommenting the following line in my /etc/freeradius/sql.conf (which is supposed to let it use the MySQL database):
Code: Select allreadclients = yes
I have ran "freeradius -X" to find out what's going on with this output:
Code: Select allrlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to radius@localhost:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
[Code] ....
So it seems that the radius user is not authenticated. However I have verified that the login details I entered in my sql.conf are the correct ones (I even tried manually logging in with them and it worked).
View 1 Replies
View Related
Mar 18, 2010
I am not sure whether I ask this question on the right forum. My debian mailserver is depending on a MySQL database. Every reboot it takes around 30 minutes to boot because of the database check. I could not find the right command or setting to boot without this check. Do you know how to do this.
View 1 Replies
View Related
Dec 24, 2010
I'm missing some features only available from MySQL 5.5.6 and therefore neither Debian's archive or dotdeb supports my needs Is it difficult (link / guide) to compile MySQL myself from my Mac or virtual debian and then distribute it to my servers, will it likely cause more problems and will I be able to compile upgrades later or change back to Debian archive (or dotdeb) when they are releasing a sufficient version? I've been administrating my servers for 2 years now and have some knowledge how things is working :-)
View 1 Replies
View Related
Aug 31, 2014
I have just completed my fresh Debian installation. I have added MySQL server and client using the package manager.
Now I am trying to connect from my PC to the MySQL server (on debian) but getting the following message:
2003: Can't connect to MySQL server on 10.0.0.111 (10061)
View 7 Replies
View Related
Jun 24, 2015
I installed LaMp 2 days ago. First everything works; But until yesterday, I can't start anymore mysql server : it failed each time.
When I look at the status :
Code: Select allsystemctl status mysql
Failed to get D-Bus connection: Erreur inconnue -1
It's like it can't generate mysqld.sock
Code: Select all/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
I keep reading man and trying to find something I didn't configure correctly, but I can't find nothing.
View 1 Replies
View Related
Jun 9, 2010
I have machine which manages all mail accounts and their traffic and as well mysql database and some more stuff. Theres also windows server where users are managed and they get their programs from over rdp. I have login screen on Linux machine. It says Debian GNU/Linux 5.0. And I have root password, but I know that I have to login first with simple user account after which I can access login as root. But where can I get simple user account info. I need to manage mailaccounts mainly there.
View 3 Replies
View Related
May 17, 2010
I've been trying to install MySQL in Lenny via source binaries, following the instructions given on the MySQL official website[url]
But when i try to run the scripts/mysql_install_db --user=mysql command, doesn't work.
For the record, i'm particularly interested on installing MySQL with the generic source binaries.
View 1 Replies
View Related
Jun 13, 2009
i want to know how to configure my sql server and clients in debian 5. what should be the server host name and root password
View 1 Replies
View Related
Jan 10, 2010
I have been fighting with this for days. I upgraded from etch to lenny. I tried installing mysql-5.1. I have uninstalled, reinstalled, updated, upgraded, many, *many*, times. It just stubbornly refuses to work.
Quote:
View 2 Replies
View Related