Closed holidayworking closed 9 years ago
Hi @holidayworking
Thanks for reporting this issue, I did reproduce this, and I will figure out.
For my local test, it works well to run a pod by sudo hyper run -p mysql.pod
, you may try that as a workaround.
Thanks, -Lei
@carmark
Thank you for the reply.
I tried sudo hyper run -p mysql.pod
, but did't resolve.
Hi @holidayworking
We have located the root cause, it is a filesystem issue, and we will soon push a work around.
@gnawux I understand. I'm looking forward to that this problem is fixed.
@holidayworking we have pushed a bug fix version to solve this issue, you can found it here: https://docs.hyper.sh/get_started/install.html
The root cause is the database init script script used multi-line cat (<<), and it is broken by the virtfs. After investigating for a weekend, we found a clean and simple solution. It looks good in our tests.
@gnawux Thanks for resolving this issue. I launch MySQL.
vagrant@vagrant-ubuntu-trusty-64:/vagrant/hyper-rails-example$ sudo hyper run -p mysql.pod
POD id is pod-GUMNkDosbs
Time to run a POD is 2053 ms
vagrant@vagrant-ubuntu-trusty-64:/vagrant/hyper-rails-example$ sudo hyper exec pod-GUMNkDosbs mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.25 MySQL Community Server (GPL)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
+--------------------+
3 rows in set (0.01 sec)
I tried to launch mysql Docker image, but this image is failed to launch.
My Podfile is the following.
I was operated as follows.
After a few minutes , it became as follows.
Log output is as follows.