|
From: Nathan B. <Nat...@mo...> - 2010-04-13 02:35:37
|
> Is "my-macs-name" really your mac's name ? No, but it's very similar - surely that's not breaking things? N On 04/04/2010, at 11:11 PM, Jean-François Mertens wrote: > 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' > > > JF Mertens > |