td6
10-21-2004, 07:46 PM
Using system 10.3.5...
I can access MySQL thru
mysql -u root -p
and I can see the 2 original databases thru
show Databases;
however, I cannot log into MySQL from the terminal just by typing mysql.
I've tried:
echo 'export PATH=/usr/local/mysql/bin:$PATH' >> ~/.bash_profile
and it's not working. I'd like to have access to the databases other than 'test' thru my main user and not just 'root', and i'd like to be able to just type in 'mysql' to get to MySQL.
this is what I get:
ERROR 1045: Access denied for user: '****@localhost' (Using password: NO)
with **** being my user account.
Thanks
I can access MySQL thru
mysql -u root -p
and I can see the 2 original databases thru
show Databases;
however, I cannot log into MySQL from the terminal just by typing mysql.
I've tried:
echo 'export PATH=/usr/local/mysql/bin:$PATH' >> ~/.bash_profile
and it's not working. I'd like to have access to the databases other than 'test' thru my main user and not just 'root', and i'd like to be able to just type in 'mysql' to get to MySQL.
this is what I get:
ERROR 1045: Access denied for user: '****@localhost' (Using password: NO)
with **** being my user account.
Thanks