Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ruby connection to OceanBase #59

Closed
wants to merge 16 commits into from
Closed

Add Ruby connection to OceanBase #59

wants to merge 16 commits into from

Conversation

zhs722
Copy link
Contributor

@zhs722 zhs722 commented May 30, 2024

No description provided.

@CLAassistant
Copy link

CLAassistant commented May 30, 2024

CLA assistant check
All committers have signed the CLA.

@whhe
Copy link
Member

whhe commented May 30, 2024

Thanks for your contribution! Please sign the CLA first.

I updated the master branch and added ruby 3.1 in basic ci workflow, please merge or rebase the master branch and add your module to .github/workflows/ci.yml. You can refer to the instructions in readme about basic ci job.

@whhe
Copy link
Member

whhe commented May 30, 2024

Hi @zhs722 , you should add the missing run.sh to execute the code.

Run cd ruby/mysql2
  cd ruby/mysql[2](https://github.com/oceanbase/ob-samples/actions/runs/9302914511/job/25604151078?pr=59#step:8:2)
  sh run.sh
  shell: /usr/bin/bash -e {0}
sh: 0: cannot open run.sh: No such file
Error: Process completed with exit code 2.

zhs722 added 2 commits May 30, 2024 21:04
add run.sh
add README.md
@whhe
Copy link
Member

whhe commented May 30, 2024

Maybe you should use localhost in the sample to make the CI pass.

Run cd ruby/mysql2
  cd ruby/mysql[2](https://github.com/oceanbase/ob-samples/actions/runs/9303283139/job/25605265789?pr=59#step:8:2)
  sh run.sh
  shell: /usr/bin/bash -e {0}
Building native extensions. This could take a while...
Successfully installed mysql2-0.5.6
1 gem installed
连接到OceanBase数据库失败: Can't connect to MySQL server on '172.[3](https://github.com/oceanbase/ob-samples/actions/runs/9303283139/job/25605265789?pr=59#step:8:3)0.3.244:2881' (110)

zhs722 added 2 commits May 30, 2024 21:29
modify host
add sequel
@zhs722 zhs722 closed this May 30, 2024
@zhs722
Copy link
Contributor Author

zhs722 commented May 30, 2024

Submit together after adding other methods

@whhe whhe mentioned this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants