mysql tag

406 questions


1 answers
362 views
0
rails db:create error: Could not find mysql2-0.5.4 in any of the sources

When I tried to create a database with rails db:create, I received the following error:Could not find mysql2-0.5.4 in any of the sourcesRun `bundle install` to install missing gems.Are you going to se...

2 weeks ago

1 answers
269 views
0
My Japanese is garbled when I connect to mysql from python

When I tried to create python and mysql containers using docker and connect python to mysql and display the table in fetchall, the Japanese was garbled.When you enter the mysql container and view it d...

4 weeks ago

1 answers
262 views
0
Understanding the MySQL Table Configuration of Parent-Child Hierarchy Data

What you want to do in the endI want to display the parent-child hierarchy category in PHPQAfter searching, I found [PHP][Recursive function version] that I tried to register and display categories of...

4 weeks ago

1 answers
288 views
0
I want to import files under the directory in bulk in mysql.

I can't think of a way to import all the files under the db directory into mysql at once, so please let me know.For my part, I was wondering if I could get the file name list with ls-1db and do well, ...

1 months ago

1 answers
287 views
0
I want Nodejs to repeat MySQL query statements synchronously

I am currently studying Javascript using Nodejs.I would like to store the values obtained by executing the query statement in an array, but it will become asynchronous, so it will not store data after...

1 months ago

1 answers
277 views
0
Using CHAR and VARCHAR in MySQL

How do I use CHAR and VARCHAR differently in MySQL 5.7?I understood the following, but is it okay to put fixed length strings in VARCHAR and all VARCHAR?CHAR is a fixed length, so it stores a fixed le...

2 months ago

1 answers
298 views
0
MySQL crashed

I am using MySQL installed from Homebrew on my Mac.When I tried to launch MySQL, ERROR!The server quit without updating PID file(/usr/local/var/mysql/****.pid).failed to boot with the boot.For /usr/lo...

4 months ago

1 answers
351 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...

4 months ago

1 answers
192 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...

4 months ago

1 answers
327 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...

4 months ago
- 1 - »

© 2023 OneMinuteCode. All rights reserved.