User Tools

Site Tools


setuplampubuntu22

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
setuplampubuntu22 [2025/05/15 00:34] tektinkerssetuplampubuntu22 [2025/05/15 00:35] (current) tektinkers
Line 19: Line 19:
 //change "root" and "password" to whatever you want// //change "root" and "password" to whatever you want//
 <code>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';</code> <code>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';</code>
 +<code>exit</code>
 <code>sudo mysql_secure_installation</code> <code>sudo mysql_secure_installation</code>
  
 **MySQL: Creating Users and Databases** **MySQL: Creating Users and Databases**
 +
 +<code>sudo mysql -u root -p</code>
  
 //Change "example_database", "example_user" and "password" to whatever you want:// //Change "example_database", "example_user" and "password" to whatever you want://
setuplampubuntu22.1747269286.txt.gz · Last modified: 2025/05/15 00:34 by tektinkers