Comments (8)
@felixonmars let me know if the fix work, and I'll release a new version!
from pifpaf.
It fails at the last part:
self._exec(["mysql",
"--no-defaults",
"-S", self.socket,
"-e", "CREATE DATABASE test;"])
from pifpaf.
@felixonmars adding --basedir=/usr
fixes it also? or something else?
from pifpaf.
The error is:
ERROR 1007 (HY000) at line 1: Can't create database 'test'; database exists
I have tried to change all occurrences to 'test_pifpaf' and the tests successfully passed.
from pifpaf.
Quoting from https://mariadb.com/kb/en/mariadb/mysql_secure_installation/ :
By default, MariaDB comes with a database named 'test' that anyone can access.
from pifpaf.
I had to revert the fix, because in some cases the base dir is not /usr. I've tested MariaDB with Homebrew on Darwin, and this still works correctly.
from pifpaf.
That's really unfortunate :(
Would it be a good idea to just pick up some values from defaults?
from pifpaf.
If you're able to have a patch that does that, for sure @felixonmars.
from pifpaf.
Related Issues (20)
- Issue running rabbitmq HOT 1
- postgresql: usage of pg_config makes it dependant on libpq-dev or postgresql-server-dev (on debian) HOT 3
- Add qdrouterd support HOT 2
- Add apache artemis support HOT 1
- pifpaf psutil.AccessDenied HOT 1
- postgresql: configure the server for speed
- pifpaf fails to start elasticsearch on Debian HOT 6
- Waits forever on etcd when using etcd 3.4 HOT 1
- Missing git tags for 3.1.3 and 3.1.4 releases HOT 1
- terminating PIFPAF_PID hangs forever in 3.1.4 (works in 3.1.1) HOT 12
- pifpaf needs a new maintainer HOT 10
- Ceph driver hangs with HEALTH_WARN HOT 3
- setuptools warnings
- PEP517 HOT 1
- Allow to pass --debug flag via environment variable
- Tests hang on Python 3.6 HOT 4
- swift master broken
- pip install pifpaf in ubuntu 16.04 with python 3 is broken HOT 4
- Tests on Travis fail with `sequence item 1: expected a bytes-like object, str found` HOT 4
- Trouble installing and running pifpaf 1.12.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pifpaf.