mysql tag

409 questions


1 answers
427 views
0
I do not understand why the group method is not available.

Sorry for the rudimentary question.Connection.group(:user_id) causes Object doesn't support #inspect.Ruby 3.1.0Ruby on Rails 6.1.4 modelclass User<ApplicationRecord has_many —connectionsendclass Co...

1 years ago

1 answers
241 views
0
Want to separate data sources by user within multi-tenant services

I plan to develop a multi-tenant service.It is assumed that each user (service user) will have a direct reference to the database of this service from an external system.We want to separate data sourc...

1 years ago

1 answers
406 views
0
FOREIGN_KEY constraint error when attempting to ETL s3 data to rds in embulk

When I try to ETL the data of s3 to rds in embulk, I get a FOREIGN_KEY constraint error.Specifically, the error is as follows:java.lang.RuntimeException: com.mysql.jdbc.exception.jdbc4.MySQLIntegrityC...

1 years ago

1 answers
417 views
0
Please tell me what to do when the mysql container does not stand up in docker-compose.

Developing web applications running in rails+mysql environment My PC is an m1 chip macbook, but the mysql container doesn't stand up, so I checked the cause and found out that if you want to use mysql...


1 answers
346 views
0
Spring boot partial match search I don't know what's wrong

The previous question worked well, so I tried to change the table and run it, but it didn't work.What is the cause?package com.example.demo.mysql;import javax.persistence.Column;import javax.persisten...

1 years ago

1 answers
436 views
0
I would like to improve the error such as No value present that appears when I update with Spring.

When I change the value to what I want to update on the edit screen and press the execution button, an error such as No value present appears, so I would like to make this improvement.I am thinking of...


1 answers
320 views
0
Understanding SELECT Statements Using Parent and Child Tables

About the image aboveThe parent table is m_productThe child table is t_sales.SELECT m_product.product_code, m_product.product_name, m_product.price, SUM(quantity) as total, SUM(quantity)* price as res...

1 years ago

1 answers
384 views
0
Unable to input data from seed file to database.

What do you want to doI want to input data from the seed file into the tableproblems and error messages occurringRails db:seed does not allow data inputI ran create on railsc and checked the contents,...

1 years ago

1 answers
350 views
0
Unable to launch MySQL

I'm sorry to disturb you every time.I look forward to working with you again this time.Currently, I deployed Ravel to Sakura VPS and tried to boot it up.SQLSTATE [HY000][2002] Connection refused (SQL:...

1 years ago

1 answers
406 views
0
A like function using asynchronous communication cannot be implemented.

What I want to do is implement a like function using asynchronous communication (on the video posting page)As an overview of the portfolio, we separate pages dedicated to posting videos from pages ded...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.