MySQL Privileges
mysql> flush privileges;
Marcadores: mysql
Marcadores: mysql
Marcadores: mysql
ALTER TABLE myInnoDB_Table ENGINE=MYISAM
Faz um exportação edita o arquivo do dump e alterar as ocorrências engine=innodb para engine=myisam. Se tudo estiver certo é só importar novamente
Marcadores: mysql
You could go back into the ports directory and extract the sources, then go into them and locate the script.
Like:
cd /usr/ports/databases/mysql50-server ;
make extract ;
cd work/mysql-5.0.51a/
it should be in the scripts/ folder.
Copy it to a location of choice.
Then just go back to /usr/ports/databases/mysql50-server and either
make clean (remove what you buildt/extracted)
or
make distclean (remove downloaded sources and the above including related software).
/usr/local/sbin/mysqlhotcopy: Command not found.
#!@PERL@ -w
#!/usr/bin/perl -w
Can't locate DBI.pm
perl -MCPAN -e shell
install DBI
install_driver(mysql) failed: Can't locate DBD/mysql.pm
perl -MCPAN -e shell
install DBD::mysql
Marcadores: mysql, php, programação
/usr/local/etc/rc.d/mysql-server start ; tail -f /var/db/mysql/host.xyz.com.br.err
080114 10:28:56 mysqld started
080114 10:28:56 InnoDB: Started; log sequence number 0 43655
080114 10:28:56 [ERROR] Can't start server : Bind on unix socket: Permission denied
080114 10:28:56 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?
080114 10:28:56 [ERROR] Aborting
080114 10:28:56 InnoDB: Starting shutdown...
080114 10:28:58 InnoDB: Shutdown completed; log sequence number 0 43655
080114 10:28:58 [Note] /usr/local/libexec/mysqld: Shutdown complete
080114 10:28:58 mysqld ended
# /usr/local/libexec/mysqld --help
/usr/local/libexec/mysqld Ver 5.0.51-debug for portbld-freebsd6.2 on amd64 (FreeBSD port: mysql-server-5.0.51)
/usr/local/libexec/mysqld --debug --user=mysql
drwxr-xr-x 7 root wheel 512 Jan 14 11:12 tmp
chmod 777 /tmp/