- or download this
/Users/7stud/.cpan$ sudo chown -R 7stud .
- or download this
$ otool -D `mdfind libmysqlclient.18.dylib`
- or download this
$ sudo install_name_tool -id /usr/local/mysql-5.5.28-osx10.6-x86_64/li
+b/libmysqlclient.18.dylib
/usr/local/mysql-5.5.28-osx10.6-x86_64/lib/libmysqlclient.18.dylib
- or download this
mysql> grant all privileges on test.* to '7stud'@'localhost' identifie
+d by 's3kr1t';
- or download this
mysql> grant all privileges on test.* to 'root'@'localhost' identified
+ by 's3kr1t';
- or download this
$ cd /usr/local/mysql
$ sudo ./bin/mysqld_safe
...
$ cd /usr/local/mysql
$ sudo mysqladmin shutdown
- or download this
$ mysql -uroot -p
password: <just hit return>
...
..
...
mysql>
- or download this
mysql> grant all privileges on test.* to '7stud'@'localhost' identifie
+d by 's3kr1t';
- or download this
$ cpan DBD::mysql
- or download this
$ perlbrew use perl-5.16.0
- or download this
$ cpan -f -i DBD::mysql
- or download this
$ perl -MCPAN -e shell
cpan> fforce install DBD::mysql
- or download this
use strict;
use warnings;
...
while($query_handle->fetch()) {
say "$id, $name, $info";
}
- or download this
mysql> CREATE DATABASE my_db CHARACTER SET utf8
mysql> show databases;
...
#Only use the following if you want to delete data:
mysql> drop table people;
mysql> drop database my_db;