I need to know the difference between using MYSQL and the PHPmyAdmin Tool.
I created a database and also a table in PHPMyAdmin. then when i tried to access it through a code, it says the database do not exist.
Later i logged on to MySQL from the console and tried to create the database giving the same name as i created in PHPMyAdmin, then it says
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'sampleDB'
What is the difference between these 2 databases? What are they use for and how can i resolve my problem?
I created a database and also a table in PHPMyAdmin. then when i tried to access it through a code, it says the database do not exist.
Later i logged on to MySQL from the console and tried to create the database giving the same name as i created in PHPMyAdmin, then it says
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'sampleDB'
What is the difference between these 2 databases? What are they use for and how can i resolve my problem?