658,067 questions
-2
votes
0
answers
23
views
Deleted user Name root for local site. Common solutions haven't worked. ERROR 1045 (28000): Access denied for user 'root'@'localhost' [migrated]
Sorry if this is a silly question.
I'm running a local Wordpress website through WP engine with a MySQL database through AdminNEO on my browser and made a terrible mistake of deleting "root" ...
-4
votes
0
answers
108
views
How to send weekly timesheet data from JavaScript frontend? [closed]
I am building a time card calculator using HTML, JavaScript, Ajax, and PHP. Users can enter working hours for each day of the week, including:
Start time (hours, minutes, AM/PM)
End time (hours, ...
Advice
0
votes
6
replies
90
views
MySQL set the default unix time
Earlier, I set the time field, int type, to the default time value in unix format.
When adding an entry, the time field accepts the time since 1970 in unix format.
I'm trying to do the same with the ...
-5
votes
0
answers
54
views
Sails.js unable to connect to AWS RDS MySQL (ETIMEDOUT) while Node/Workbench works [closed]
I’m stuck on this since morning and would really appreciate some help.
I created a new AWS RDS MySQL 8.4 instance.
✅ I can connect successfully using MySQL Workbench
✅ I can connect from a Node.js + ...
-3
votes
0
answers
50
views
Creating a user in mysql with readonly permission and that user can't take mysqldump of the database [closed]
I am using AWS RDS as and I have created a user with only SELECT permission. The user should not be able to get the dump but if some flags like:
--single-transaction --skip-lock-tables --no-...
-2
votes
0
answers
85
views
Query error - can't connect to MySQL server on '127.0.0.1' (111) [closed]
I'm trying to run this code:
annot <- getBM( filters = "ensembl_gene_id", attributes = c("ensembl_gene_id",
"description",
&...
-1
votes
1
answer
85
views
How do I get a trigger to only delete an associated row in another table in SQL?
I currently have 3 tables:
CREATE TABLE IF NOT EXISTS customers(
ID int unsigned NOT NULL AUTO_INCREMENT primary key,
first_name varchar(50),
last_name varchar(50),
email_address ...
-11
votes
0
answers
113
views
Does parser_name stored somewhere in information_schema in MySQL
Or this index parameter is "fire and forget" one?
If I create a table in MySQL and then assign the FULLTEXT index to it its possible to assign a parser to such index.
One can use WITH PARSER ...
-3
votes
0
answers
93
views
JTabbedPane with JTable data from MySQL [closed]
When I select the tab tabIndirizzi, I want the table display all the records from a MySQL table.
The connection script is right because it works in other frames, but it doesn't display records in this ...
0
votes
0
answers
115
views
SQL JOIN returning duplicate rows instead of expected results [duplicate]
I am trying to combine data from two tables using a JOIN, but I am getting duplicate rows in the result instead of the expected output.
Here are my tables:
Customers
CustomerID
CustomerName
Orders
...
-2
votes
2
answers
105
views
Row inserted without error, but not showing up in the table [closed]
I added this row and MySQL showed
1 row(s) affected
But even when I counted the rows before and after inserting the row, the count is the same. I believe it means the row was not inserted. Then why ...
0
votes
1
answer
73
views
Exceeded max user connections in python / flask / mysql
I am trying to run a Python / Flask / MySQL app but whenever I try to run it (using the command "python -m flask run"), it gives me this error:
mysql.connector.errors.ProgrammingError: 1226 ...
0
votes
1
answer
75
views
Adding a column to an SQL query based on join
I would like to left join multiple tables, and in the output have a column that is basically dependent on which table the join came from. So for example, if I have a single join:
SELECT B.Name, A....
-2
votes
0
answers
132
views
Why does the SUM() result change when moving a WHERE filter into a subquery in MySQL? [closed]
I have a vehicle rental database. I want to get the name, phone number, and total spending of clients who have rented a BMW or a Honda at the branch with the highest number of registered vehicles.
My ...
-2
votes
3
answers
64
views
Updating BINARY LOWER/UPPER queries to CAST
I'm using this query to identify misstyped usernames:
SELECT * FROM import_bk
WHERE
(
bk_name = BINARY LOWER(bk_name) OR
bk_name = BINARY UPPER(bk_name) OR
bk_name REGEXP '[0-9]'
)
But I always get ...