Results 1 to 10 of 10
Enjoy an ad free experience by logging in. Not a member yet? Register.
newb having problems with databases
the website works when i make hp file and stuff like that,
but when i go to use phpmyadmin and log in as admin with the password being blank, it says i dont have permission to create databases.
and when i try to log on as my normal account, it doesnt let me log on and it says:
#1045 - Access denied for user 'cody'@'localhost' (using password: YES)
im a newb at mysql,servers,etc.
so im not sure what i should do or how i should do it so it will let me add databases.
if this is all a default install have you tried root and no password?
yes this is a default install,
when i try root with no pass i get
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
what distro and how did you install all of this?
im on ubuntu 8.04 hardy
i installed all of it through synaptic package manager
and you install mysql-server?
here is something to try from an ubuntu guide
Set mysql root password Before accessing the database by console you need to type: mysql -u root At the mysql console type: mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');
report back how it goes
ok... this is what i got when i entered it in
cody@ubuntu:~$ mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) cody@ubuntu:~$ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 69 Server version: 5.0.51a-3ubuntu5.4 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword'); ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' mysql>
- Join Date
- Apr 2008
I feel that your mysql password is wrong .. try changing the mysql password
use the following links
Resetting a forgotten MySQL root password
David's Dairy: Reset mysql root password when lost
and try login now....Regards
-->Success is the list of failures ...!!!
When you installed mysql-server it will have asked you for a root passwordShould you be sitting wondering,
Which Batman is the best,
There's only one true answer my friend,
It's Adam Bloody West!
The Fifth Continent
ohh. well i reinstalled ubuntu becuase of an unrelated problem yesterday morning, so thanx for the help ill keep it in mind when i reinstall apache and mysql