[MacPorts] #26749: mysql5 installation cant put password
#26749: mysql5 installation cant put password ---------------------------------------------+------------------------------ Reporter: erchache2000.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ---------------------------------------------+------------------------------ I install mysql5 and i cant enter with mysql because ask for a password :-S I rerun daemon with option /opt/local/libexec/mysqld --basedir=/opt/local --datadir=/opt/local/var/db/mysql5 --user=_mysql --log- error=/opt/local/var/db/mysql5/erchache.us.es.err --pid- file=/opt/local/var/db/mysql5/erchache.us.es.pid --skip-grant-tables and can enter. I use UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; FLUSH PRIVILEGES; And dont save password. How i can solve it? is it a mysql 5 compilation problem? -- Ticket URL: <https://trac.macports.org/ticket/26749> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26749: mysql5 installation cant put password ---------------------------------------------+------------------------------ Reporter: erchache2000.macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mysql5 ---------------------------------------------+------------------------------ Changes (by jmr@…): * priority: High => Normal * owner: macports-tickets@… => ryandesign@… * port: => mysql5 Comment: Please remember to fill in the Port field and cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members. -- Ticket URL: <https://trac.macports.org/ticket/26749#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26749: mysql5 installation cant put password ---------------------------------------------+------------------------------ Reporter: erchache2000.macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: mysql5 ---------------------------------------------+------------------------------ Comment(by erchache2000.macports@…): Solved! I reinstall mysql databases with mysql_install_db --user=_mysql and runs. It's a user problem, is _mysql not mysql. You can close this issue. Thanks a lot. -- Ticket URL: <https://trac.macports.org/ticket/26749#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26749: mysql5 installation cant put password ----------------------------------------------+----------------------------- Reporter: erchache2000.macports@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: worksforme | Keywords: Port: mysql5 | ----------------------------------------------+----------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: FYI, [wiki:howto/MAMP#mysql complete MySQL setup instructions for MacPorts] are in our wiki. -- Ticket URL: <https://trac.macports.org/ticket/26749#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts