4237 shaares
5 results
tagged
mysql
At work we have a component not yet migrated to Python 3, and we recently had some difficulties diagnosing a problem with the MySQL connector.
Because we were catching the mysql.connector.errors.Error
and raising a custom exception,
we were loosing the underlying stacktrace and hence couldn't troubleshoot the …
How To Test a spring.datasource.url
like jdbc:mysql://localhost:3306/my_table
:
git clone https://github.com/julianhyde/sqlline && cd sqlline
mvn package -Dmaven.test.skip=true
cp .../mysql-connector-java-5.1.40.jar target/
export CLASSPATH=$PWD/target/sqlline-1.4.0-SNAPSHOT-jar-with-dependencies.jar:$PWD/target/mysql-connector-java-5.1.40.jar
bin/sqlline
!connect jdbc:mysql://localhost:3306/my_table $user $password
Canary tokens are a free, quick, painless way to help defenders discover they've been breached (by having attackers announce themselves.)
Embeddable in :
- fake URLs ending in .html, .js, .php...
- emails to detect if you are spied on
- files in the cloud
- as file watchs do detect spies on filesystems
- desktop.ini for Windows directories or zip files
- MSSQL & MYSQL
- Word / PDF documents
- a JS resource is used elsewhere
The official Pinterest engineering blog.