All you guys are probably at X-day anyway but I guess this is worth a
shot.
I installed PHP using Synaptic. As part of the install, it installed
MySQL.
This is OK, I need MySQL anyway.
But I get access denied if I try to use MySQL as root or my user
account.
So I look at the MySQL files, and they are all owned by an account
called "mysql".
I look in "users and accounts", and there is no such account.
The MySQL process is running, mysqld.
So in the bash shell I enter
ps --User mysql
and it lists the mysqld process.
So, how exactly did this user which apparently doesn't exist start
this process?
I try to su to mysql in the bash shell, but nothing happens.
It shows me which account I'm currently using in the shell prompt,
joecosby@ubuntu or root@ubuntu
When I su to mysql, it doesn't give me an error message, but the
prompt doesn't change. When I try to use mysql, it denies access
again, and tells me I am either joecosby or root (so apparently su
just didn't do anything).
I changed the password for mysql so I have the correct password ...
but the account apparently doesn't exist.
In order to do anything with mysql, I am going to need to be able to
create user accounts.
I found a page that tells me how to change the MySQL root password,
but it requires I first log in as mysql.
But the account doesn't seem to exist, although it's running a
process.
Does anybody have any idea what this is all about, and how I can run a
process as this apparently non-existent account?
I'm tempted to try to uninstall and reinstall MySQL ... I am a Ubuntu
newby though. In Windows you go to add/remove programs, uninstall,
and reinstall. I don't know what the equivalent for Linux is.
I am worried that I will wind up with a mess on my hands, and possibly
break necessary dependencies in PHP.
hayulp.
Thanks for any help.
--
Zapanaz
International Satanic Conspiracy
Customer Support Specialist
http://joecosby.com/
When your spirit is not in the least clouded, when the clouds of bewilderment clear away, there is the true void.
- Miyamoto Musashi
:: Currently listening to Piano Sonata No.2 in B flat minor, op.36 I Allegro agitato, 1931, by Rachmaninov, from "24 Preludes"