Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Error: SQL error: SQLSTATE[42S02]: Base table or view not found #199

Closed
dexcomman opened this issue Mar 7, 2017 · 2 comments
Closed

Comments

@dexcomman
Copy link

  • Jitamin Version: #.#.#
    0.4.7 dev
  • PHP Version: 5.6.3
  • Database Driver & Version:
    bitnami wamp一键包 (mysql),win7 x64

Description:

Internal Error: SQL error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jitamin.settings' doesn't exist

Steps To Reproduce:

#173
与上一个Internal Error 的哥们一样,我一开始也遇到了settings表不存在的错误,但是我修改config里面数据库连接后发现仍然存在上述错误,与帖子里老兄几乎相同的步骤,我直接用zip解压到E盘里没有用Git。
似乎是数据库没有创建好表,经过搜索发现没有相关解决办法,特此求助

@lianguan
Copy link
Contributor

lianguan commented Mar 7, 2017

切换数据库记得要执行相关的migration操作。

@dexcomman
Copy link
Author

dexcomman commented Mar 9, 2017

好的 解决了 mysql老出问题换了pg就好了,主目录里的pgsql要改成postgres才能成功迁移

@lianguan lianguan closed this as completed Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants