惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
博客园_首页
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
GbyAI
GbyAI
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
H
Help Net Security
T
Tailwind CSS Blog
B
Blog RSS Feed
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
博客园 - 叶小钗
雷峰网
雷峰网
量子位

MySQL Forums

MySQL :: Workbench update to 26.7.0 MySQL :: Upgrade Problems Starting a Discussion About Database Migration Best practices for indexing large tables with frequent updates? Discrepancy in Compatibility statement with MySQL and Connector/J 26.7 Announcing August 2026 Releases featuring MySQL Server, MySQL NDB Cluster, Shell and Connector/ODBC How to Troubleshoot Slow MySQL Queries Using EXPLAIN and Indexes The future of the timestamp data type Linking 2 cells in a table MySQL :: MySQL syntax error replication from 8.0 to 8.4 error How should I design a MySQL schema for storing construction material calculations? (no replies) Can AI analyze market trends faster than traditional trading (no replies) This CMD window bothers me. Announcing July 2026 Releases featuring MySQL Server 26.7.0, 9.7.2 and 8.4.11 Can I purge binlog files after migration ? Can't update expired password in Mysql Workbench Assistance with MySql application and Sql server MySQL :: MySQL Community Governance Model Announcing June 2026 Releases featuring MySQL Server 9.7.1 and 8.4.10 GoHighLevel Webhook Data in MySQL I'm troubleshooting MySQL query performance (no replies) What could cause .frm and .ibd mismatches across multiple tables? Problem with creating a connection to a remote database on local network Best MySQL schema for storing image processing jobs? APT Repository not working on Ubuntu 26.04 How do you create a remote connection to a database (no replies) MySQL :: storing and reading blob ODBC Connector almost always alters it's name and path MySQL :: Connector/Windows
MySQL :: Alter table variable value
David person · 2026-02-23 · via MySQL Forums

Alter table variable value

Posted by: David person
Date: February 21, 2026 03:11PM


I have been trying to figure out how to change a value in a table variable in a MySQL database, but I've hit nothing but syntax errors, despite copying and pasting commands from bits I can find. I started at the CLI and couldn't find the commands to work, so I was going to try with the MySQL Workbench from my PC. I disabled the firewall, changed the binding to allow remote machines to connect, and then tried to grant access from both any machine or just my IP and that's where the syntax errors came in. Even direct copying and pasting full commands, changing that which needed to be changed resulted in the same syntax errors.

Ideally, I'd prefer to change it from the mysql cli in Linux as with the right command, that's probably super simple, the problem is I can't find the right command. Nothing I've found has worked.

I can get all the way down to looking the variable in the table after selecting the database, but I can't get further than that.

mysql> select * from my_variables\G;
*************************** 1. row ***************************
variable_id: 1
variable_name: padding_tile
variable_datetime_utc: 2026-02-21 19:04:23
variable_value: 754
variable_type: int

Could someone please tell me what command I'd need to run to change the 'variable_value' of '754' to something else? It seems this should be so simple, but I haven't been able to find a clear command.


Subject

Written By

Posted

Alter table variable value

February 21, 2026 03:11PM

February 23, 2026 04:46AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.