Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Beginners • Re: Installing PHP, MySQL and phpMyAdmin

$
0
0
(Do you also need the steps to gain access and start setting up users and databases?)
Yes I do
After doing the installation (using apt):

mysqladmin refresh

In mysql (mysql -uroot)...
CREATE USER <user> IDENTIFIED BY '<password>';
User is in the format: '<user-name>'@'host-name' where hostname is localhost

GRANT ALL ON *.* to '<username>'@'localhost';

There is a lot of good data online that you can look up, such as one of the (at least for Pis) more esoteric things like replicated databases.

Statistics: Posted by W. H. Heydt — Mon Mar 03, 2025 2:49 pm



Viewing all articles
Browse latest Browse all 7503

Trending Articles