如何运行 MySQL 命令?

发布于 2024-07-25 19:48:49 字数 542 浏览 5 评论 0原文

我正在更新我的 Symphony 安装,并且被告知“运行这些 MySQL 命令”来完成该过程。 有趣的是......我不知道该怎么做。 我要运行的命令如下:

ALTER TABLE  `sym_sections` ADD  `navigation_group` VARCHAR( 50 ) NOT NULL DEFAULT  'Content';
ALTER TABLE  `sym_sections` ADD INDEX (  `navigation_group` ) ;
ALTER TABLE `tbl_entries_data_XX` CHANGE `mimetype` `mimetype` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL

我在 Mac 上使用 Coda(如果有帮助的话),并且我可以访问我的主机服务器上的 PHPMyAdmin。 我的主人是Dreamhost。

请随意与我交谈,我对这类东西完全不知道,我是 UI 设计师,不是后端开发人员。

I'm in the process of updating my Symphony installation and I've been told to "run these MySQL commands" to complete the process. Funny thing... I have no idea how to do that. The commands I'm mean to run are as follows:

ALTER TABLE  `sym_sections` ADD  `navigation_group` VARCHAR( 50 ) NOT NULL DEFAULT  'Content';
ALTER TABLE  `sym_sections` ADD INDEX (  `navigation_group` ) ;
ALTER TABLE `tbl_entries_data_XX` CHANGE `mimetype` `mimetype` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL

I'm using Coda on the Mac (if that helps) and I have access to PHPMyAdmin on my host server. My host is Dreamhost.

Feel free to talk down to me, I have absolutely no idea about this sort of stuff, I'm a UI designer, not a back-end developer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

阳光下的泡沫是彩色的 2024-08-01 19:48:49
  1. 使用 PHPmyAdmin
  2. 选择您的数据库
  3. 选择 SQL-TAB
  4. 将代码粘贴到 PHPmySQL 的文本框中:
    替代文本 http://www.holo-dek.com/ guild/stats/docs/img/phpmyadmin_sql_de.gif
  1. Use PHPmyAdmin
  2. select your Database
  3. Select the SQL-TAB
  4. Paste the Code in the TextBox in PHPmySQL :
    alt text http://www.holo-dek.com/guild/stats/docs/img/phpmyadmin_sql_de.gif
云仙小弟 2024-08-01 19:48:49

打开 PHPMyAdmin,在左侧面板中使用下拉框选择您的数据库。

然后在右侧的数据库视图中,选择“SQL”选项卡,复制/粘贴 SQL 代码,然后单击“Go”按钮。

Open PHPMyAdmin, in the panel on the left use the drop down box to select your database.

Then in the database view on the right, select the "SQL" tab, and copy/paste the SQL code in and click the "Go" button.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文