调用mysql时重新指向或重定向数据库 [英] re-pointing or redirecting a database when mysql invoked

查看:448
本文介绍了调用mysql时重新指向或重定向数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在我们的服务器消灭某人的逆境后,我们重新安装了所有必要的mysql文件。

我是我试图将我的工作数据库文件夹与mysql程序文件夹分开,我希望mysql在调用它时指向我的工作数据库,而不是所有lib,include,bin等都存在的已安装程序文件夹。有人可以帮我解决这个问题吗?谢谢!

Hi,

After our server ''wiped out'' adversity by someone, we re-installed all the necessary mysql files.
I am trying to separate my working database folder from the mysql program folder, and I want mysql to point my working database when it is invoked instead of the installed program folder where all lib, include, bin, etc are living. Can anybody help me on this issue? Thanks!

推荐答案





我们的服务器''消灭了某人的逆境,我们重新安装了所有必要的mysql文件。

我试图将我的工作数据库文件夹与mysql程序文件夹分开,我希望mysql指向我的工作数据库当它被调用而不是安装的程序文件夹,其中所有的lib,include,bin等都存在。有人可以帮我解决这个问题吗?谢谢!
Hi,

After our server ''wiped out'' adversity by someone, we re-installed all the necessary mysql files.
I am trying to separate my working database folder from the mysql program folder, and I want mysql to point my working database when it is invoked instead of the installed program folder where all lib, include, bin, etc are living. Can anybody help me on this issue? Thanks!



我想通了。

我在my.ini中进行了更改!

谢谢!

I figured it out.
I made the change in my.ini!
Thanks!


谢谢。但是,还没有人提供解决方案。下次再见。


Ronald
Thanks. However, nobody provided a solution yet. See you again next time.

Ronald



谢谢。但是,还没有人提供解决方案。下次再见。


Ronald
Thanks. However, nobody provided a solution yet. See you again next time.

Ronald






我在逆境之后我面临更严重的问题。


我的数据库是在MySQL 4.1中构建的,但是版本5是由管理员安装的。不知怎的,mysql程序没有识别我的数据库中的所有表,我从我的thurm驱动器中复制到一个新的文件夹(Window XP!顺便说一下)。它在命令show tables中显示所有表的名称。但是说xxx表不存在当你选择命令。我知道表格中有数据。任何人都可以帮助我......?


由于新版本的mysql会出现此问题吗?

Hi,

I am facing even more serious problem after this adversity.

My database was built in MySQL 4.1, but the version 5 was installed by admin people. Somehow mysql program is not recognizing all the tables in my db which I copied into a new folder (Window XP! by the way) from my thurm drive. It shows all the tables'' name at the command "show tables" but says "xxx table does not exist" when you do select command. I know that I have data in the tables. Can anyone help me...?

Is this problem due to the new version of mysql ?


这篇关于调用mysql时重新指向或重定向数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆