Do you need internet connection when you are using a database (mariaDB)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Do you need internet connection when you are using a database (mariaDB)?

it has been about three days now since I started to develop a website for one school.. I'm not that new to programming.. but databases.. so I took this offline course that was teaching the basics of mysql.. well, i wanted to create a database.. CREATE DATABASE noble_child; I get this error.. ERROR 1044(42000): Access denied for user "@'localhost' to database 'noble_child'

6th Mar 2018, 11:30 PM
Otumian Empire
Otumian Empire - avatar
5 Answers
+ 2
yeah, I'm... thanks.. i
6th Mar 2018, 11:51 PM
Otumian Empire
Otumian Empire - avatar
+ 2
I opened the phpMyAdmin and the SQL commands are functioning.. they don't on the command line
6th Mar 2018, 11:52 PM
Otumian Empire
Otumian Empire - avatar
+ 1
can you provide the exact command you're using the connect? (substitute the host and username with generic ones)
7th Mar 2018, 1:50 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
Does root not have a password?
9th Mar 2018, 1:14 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
it worked.. mysql -u root mysql -u root -p .doesn't
7th Mar 2018, 9:20 AM
Otumian Empire
Otumian Empire - avatar