This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bash | |
mysql_config_editor set --login-path=source -hmysql.source.com -uuser -p | |
mysql_config_editor set --login-path=destination -hmysql.destination.com -uuser -ppass | |
export ignoreSchema="'information_schema','mysql','performance_schema', 'awsdms_control'" | |
#get db list | |
mysql --login-path=source -ANe"SELECT distinct table_schema FROM information_schema.tables WHERE table_schema NOT IN (${ignoreSchema})" > dbs | |
#get table list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { connect } from 'react-redux'; | |
import withRedux from './withRedux'; | |
const Index = props => ( | |
<pre> | |
<h1>State</h1> | |
{JSON.stringify(props, null, 2)} | |
</pre> | |
); |