I installed mysql on Ubuntu linux with the command apt-get install mysql-server. How do i competely uninstall it?
Is there a way when i install the server to configure the server options (e.g. where the data directory is). I know how to change this once installed but i was wondering if there was a way to do it during the installation for ease. All i remember from the installation procedure is that you can set the root password.
The original issue started when i couldnt login to phpmyadmin. I noticed an error when installing it and when trying to login, my credentials that I supplied upon install failed. After ages of messing around trying to reset I decided to try and uninstall phpmyadmin and MySQL and start again. This has produced more issues as I uninstalled MySQL first and phpmyadmin asks for credentials that are in a database, which I have already deleted. This causes major issues trying to uninstall it. Anyway, I have used all these commands:
I recently single boot installed Ubuntu 10.10 on my first gen Mac Mini. Everything was working great and wonderful. Now i am looking to uninstall Ubuntu and reinstall Mac OS X Tiger. I have the install DVD but no where am I able to boot the disk
On my other Linux installation, every time I try installing KDE Trinity, I can't remove KDE 3.5 without making it impossible to start KDE. Can anyone give me some tips on how to safely uninstall KDE 3.5 after Trinity is installed? I uninstalled 3.5 by uninstalling all the components one-by-one in Synaptic.
After installing and uninstalling KWLAN and some other network program (I think it was wpa_supplicant GUI) the default Ubuntu network manager does not appear, and I can't connect to ANY form of Internet.
under gnome (OS: ubuntu lucid 10.04) i installed KGet and it was working fine with no problems or ( extra PKGs installation ) ... then i wanted to try KDE desktop so i installed kubuntu-desktop , after that gnome windows and message alerts have been transformed to KDE form even if i was logged with gnome ...
I uninstalled kubuntu-desktop using instructions provided here : [url] but then i lost kget .... now when i try to install it again , synaptic iforms me that i have to install a lot of extra packages as well .. what is the shortest way to install and run KDE program on my gnome desktop properly .. ?
I installed VMware server on my CentOS 5 machine. I had problems getting that working. Then I installed VMware Workstation. That worked fine. Then I tried using VMware server, but apparently VMware Workstation deleted some of VMware Servers files. So, I uninstalled VMware Workstation. Then I tried to reinstall VMware Server, but rpm complains package VMware-server-2.0.2-203138.x86_64 is already installed
I'm trying to install DekiWiki, which has as a dependency mysql-server. This is what's going on:
Code: root@servername:~# apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed:
[Code]...
Do you think this package might be corrupted, and if so can I manually specify a different version or a different package? I don't know what else to do; ctrl+c to kill it results in dpkg hangups that yeah, I can purge, but I'd rather not be doing that more than is really necessary.
im in the process of installing LAMP. im presently installing mysql and that's where i got into trouble...
im following the this tutorial [URL]
i tried the following :
Step 3. This is where things may start to get tricky. Begin by typing the following into Terminal:
mysql -u root
and i got this output:
root@konlah-laptop:/home/konlah# mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
obviously my question is why can't i connect to local mysql?
How do I connect to the MySQL server using phpmyadmin?It's asking me for a username and password and I was not asked for a root password when I installed MySQL (unlike in Windows).I tried no password, I tried root as a password, I tried$ mysqladmin -u root -p blahEnter password: mysqladmin: connect to server at 'localhost' failederror: 'Access denied for user 'root'@'localhost' (using password: YES)'Nothing I've tried is working obviously.Why does this have to be so stupid? Why couldn't MySQL ask me what password I want to use?
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
I tried to install the package from centosplus repo but got the error cannot find libmysqlclient.so.15.Not surprising as I have libmysqlclient.so.18. If not does anyone know how I can build postfix with support for MySQL 5.5. It doesn't help that I have never built a binary before - I found a couple of good tutorials on how to build from source that seem straight forward enough but I have no idea what needs to be specified for the postfix build.
I installed:MySQL-server-5.1.48-1.glibc23.i386.rpm MySQL-client- .1.48-1.glibc23.i386.rpmand can now type "MySQL" at the command prompt to play around with MySQL! W00t!
However, when trying to import MySQLdb into python, I get this error: >>> import MySQLdb ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory ... and now I'm clueless. I tried looking for libmysqlclient_r.so.15 by typing "sudo find / -name 'libmysqlclient_r.so.15'" and didn't get anything
I have been trying to install the above on my CentOS 5.5 server but am having missing libs issues. Our friend yum is not helping either. Here're some of the libs missing:
Missing Dependency: liblua-5.1.so()(64bit) is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64) Missing Dependency: libssl.so.10()(64bit) is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64) Missing Dependency: python(abi) = 2.6 is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64)
i am using ubuntu 10.10. I had installed apache2 and subversion, using webdav, as described in the unbuntu wiki. SVN was working as expected, I could commit files, etc. I then installed php5 and mysql, as described in the ubuntu wiki, and i now get the following on apache restart:
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/libgssapi_krb5.so.2: symbol krb5_authdata_context_copy, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference Action 'configtest' failed.
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.
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.
I just tried installing mysql on my vps from source code. after untaring the source code. when i tried to configure the ./configure script. iwas not able to find it. it is not there.
I want to connect to MySQL Database installed on RHEL 5 using perl v 5.8.8.The available DBD perl drivers installed on my machine are:DBM, ExampleP, File, Pg, Proxy, Sponge..I downloaded DBD-mysql-2.1012 and tried installing DBD again but got the following error:Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.readline() on closed filehandle PIPE at Makefile.PL line 169.On searching I found that I need to install libz-devel prior to installing driver for MySQL for Perl.
After updating and installing Mysql's TOP, yum broke. When trying to clean, update, or install, the following error occurs:
dingle@its:/home/dingle# yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] If you cannot solve this problem yourself, please go to the yum faq at: [URL]
I tried to resolve by reinstalling the dependency, didn't work either: dingle@its:/home/dingle# rpm - [URL] Retrieving [URL] Preparing... ########################################### [100%] package python-elementtree-1.2.6-7.el4.rf.i386 (which is newer than python-elementtree-1.2.6-5.i386) is already installed
How can I rebuild YUM appropriately so it will operate correctly?
I have a permission to use several CentOS5 computers that are connected to a server where all shared programs sit. Accordingly, all Perl users for example have an identical path to Perl (e.g. /export/user/bin). The administrator suggested I'll install all the programs I need (specifically Perl and Mysql) in my personal space, and then add them to the path before the already installed ones. Accordingly, I could add/change modules without "sudo" privileges, and without changing the global setting.