On 03 Apr 2010, at 03:37, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 4/2/10 7:42 PM, Nathan Bailey wrote: >> I've having trouble installing/running mysql - the instructions >> provided with the package (printed after installation) aren't >> working. Specifically, the instructions I got were: >>> To start mysqld at boot time you have to copy >>> support-files/mysql.server to the right place for your system >>> >>> PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! >>> To do so, start the server, then issue the following commands: >>> /sw/bin/mysqladmin -u root password 'new-password' >>> /sw/bin/mysqladmin -u root -h my-macs-name.local password 'new- >>> password' >>> See the manual for more instructions. >>> You can start the MySQL daemon with: >>> cd /sw ; /sw/bin/mysqld_safe & >>> >>> You can test the MySQL daemon with mysql-test-run.pl >>> cd mysql-test ; perl mysql-test-run.pl >>> >>> Please report any problems with the /sw/bin/mysqlbug script! >> >> i) It isn't clear where support-files/mysql.server is - turns out >> it is in /sw/share/mysql (can't fink provide the full path?) > > dpkg -S support-files/mysql.server > > Perhaps the instructions, as echoed, could be modified for an > arbitrary > Fink tree. > >> ii) cd /sw ; /sw/bin/mysqld_safe & worked >> ii) /sw/bin/mysqladmin -u root password 'somepass' worked >> iii) /sw/bin/mysqladmin -u root -h my-macs-name.local password >> 'somepass' didn't, I got: >> /sw/bin/mysqladmin: connect to server at 'my-macs-name.local' failed >> error: 'Host 'xx.xx.xx.xx' is not allowed to connect to this MySQL >> server'
Is "my-macs-name" really your mac's name ? JF Mertens ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
