title: How do I set root password for mysql 5.7 on netbsd
body: <p>I'm trying to get mySQL 5.7 working on NetBSD (unix). When I try "mysql -u root" I get</p>
  
  <p>ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)</p>
  
  <p>When I try "mysqld --initialize-insecure" I get</p>
  
  <p>[ERROR] --initialize specified but the data directory has files in it.</p>
  
  <p>What do I do?</p>