Reddit » MySQL
1,422 FOLLOWERS
Discussion of MySQL and assistance for MySQL related questions.
Reddit » MySQL
17h ago
apparently a person has to use localhost or something? also..I am using python, so..does a person use an html file and then query the mysql database in python to return to the html?
submitted by /u/savant78
[visit reddit] [comments ..read more
Reddit » MySQL
17h ago
I wanted to install MySQL in my Linux computer through the terminal, I typed sudo apt install mysql but it doesn't work, how can I do it, or is it possible to do it now? Because I have seen people using MySQL in the Linux terminal.
Help please
submitted by /u/borja_guerrillo
[visit reddit] [comments ..read more
Reddit » MySQL
17h ago
In this imaginary scenario I marked this post with the flairs "question", "troubleshooting", and "schema design", and let's say there is a collection of 16 other flairs all able to be marked on a single post. How would reddit save the selected flairs to a "post" table? I could get more technical with the metaphor if needed.
submitted by /u/MiracleMeds_
[visit reddit] [comments ..read more
Reddit » MySQL
17h ago
I've been using a stored procedure for months. Suddenly I'm getting the ambiguous error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'p_GetWork' at line 1
I'm making changes in the C# code leading up to this, but the problem seems to suggest a mysql issue.
Here is my current C# code:
using MySqlCommand cmd = new MySqlCommand("p_GetWork", scon); { cmd.Parameters.AddWithValue("@icl", iclass); // iclass=2 cmd.Parameters.AddWithValue("@sparser", sparser); // sparser="work" using MySqlDataReader reader = cm ..read more
Reddit » MySQL
17h ago
Hi everyone! I've been going at this for days now ugh! I'm currently taking a data analytics bootcamp and the first step is getting sql. I've been trouble shooting, watching YouTube videos, reddit threads, etc. I'm still preserving and no luck. This is all new to me and with the bootcamp it only shows how to set up sql with a windows computer. In turn seems to be seamless.
So far I've downloaded the community server from mysql for MacOS Intel or x86 which is 8.3 and the archived older one is 8.2. There was no issue or errors with that.
What I've been stuck on since is getting workbench. The c ..read more
Reddit » MySQL
17h ago
Hi, I'm trying to populate data to a table using mysqlimport . but the error of unknown option '-o' always rises to me.
mxxxx@DESKTOP-xxxx:~$ sudo mysqlimport -u root -local HR ./hr_db/Jobs.csv
mysqlimport: [ERROR] mysqlimport: unknown option '-o'.
submitted by /u/Mahmoud_Badr
[visit reddit] [comments ..read more
Reddit » MySQL
17h ago
I am quite new to mysql and just found out that using xtrabackup blocks DDL. I've been wondering, why not use it on replica instead of master, could anyone advice if it is a good idea? And if yes are there things that should be taken into account while doing it?
submitted by /u/jannielavr
[visit reddit] [comments ..read more
Reddit » MySQL
17h ago
Yesterday i tried percona online schema change tool to add index to a 65 gb tablw with 66 million rows. But tool exited at 40% completion due max load of 50 eunning threads. It cleaned up teigfers & shadow table. Thought all was ok. But today i found innodb shutdown/restart twice during day with no helpfiul msgs in error logs.
Wondering what happened!! How to detect any corruption of data files?
TIA
submitted by /u/TopTransportation484
[visit reddit] [comments ..read more
Reddit » MySQL
17h ago
Hello
We are in the situation where we have a disk image of a mysql database server, that is mounted on a different server so that we can access the files.
I need to get data out of a specific database on this image.
In order to work with it I need to copy data to my local pc, since the mysql service can't see the network folders I've mounted.
Ive setup a local mysql, and prepared a folder for the data, and set the datadir path in my.ini to point to the folder I've created for the data.
On the image there's a Data folder. It has folders for each individual database as well as a log files, ibd ..read more
Reddit » MySQL
17h ago
Hi, a newbie learning. Currently using MySQL workbench on Window device.
I tried to gain access to mysql's database on my localhost pc using pymysql (module for python) and it worked!
Afterward I deployed my code using as a web service onto https://render.com/ and tried to remotely connecting to it. Then it timed out during connection to my ip address.
What I tried so far:
No bind-address or skip-networking under my.ini (mine is Window, Linux should be my.cnf)
Enable port 3306 for in/outbound under firewall with advanced security
Create a user with %(wildcard) host matching
What else am I mis ..read more