Results 1 to 4 of 4
Hi everyone.
This is my first post.
I have a virtual machine (VirtualBox) with Ubuntu 9.10 installed, I'm trying to install MySql community editor using the linux-generic package (the tar ...
- 07-07-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 6
FATAL ERROR: Could not find mysqld
Hi everyone.
This is my first post.
I have a virtual machine (VirtualBox) with Ubuntu 9.10 installed, I'm trying to install MySql community editor using the linux-generic package (the tar package), I followed all the procedure but I had a problem with the next line of code:
shell> scripts/mysql_install_db --user=mysql
I don't understand a lot about the command line, but I think this line of code is used to create the basic tables of the database (users and so on). the problem I got with this line of code is:
FATAL ERROR: Could not find mysqld
I googled it and after a while I found this blog:
azimbabu.blogspot.com/2009/07/mysql-5136-in-ubuntu-904-fatal-error.html
The blog says that the problem is a default instalation of SQL, and the solution is replace the file my.cnf in the location /etc/mysql for other file that comes with the package.
I didn't replace the file my.cnf, I only changed the name and it woked perfectly, and this is the problem, I don't understand why it worked.
Any one knows why this file is so important?
What could happen if I delete this file?
what is the purpose of the package mysql-common un Ubuntu?
Thanks for your answers.
pdta: sorry for my english, i'm learning.
Javier.
- 07-07-2010 #2
Firstly, welcome to the forums.
It is usually better to install software from the repositories rather than downloading it from the Internet. If you are used to Windows, this will seem strange at first. You may not get quite the latest version but it will work and you will get updates and patches automatically.
my.cnf is the MySQL Server configuration file so it is quite important if you want to change any settings. If you delete (or rename) it, MySQL will use some in-built defaults; at least that's what it seems to do.
mysql-common holds files that are *ahem* common, ie used by multiple versions.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 07-07-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 6
Thanks for your answer elija.
I just wanted to try install mysql from the binary files (It seems that Ubuntu and Debian chage some things in my sql).
I don't like the repositories sometimes because you can install only a specific version of the program and sometimes or package those versions have changes, and if you try to install other version by yourself it's a problem.
Javier Buitrago.
- 03-04-2011 #4Just Joined!
- Join Date
- Mar 2011
- Posts
- 1
Thank you..


