Jump to content

[Problem] attempt to call global `mysql_query' (a nil value)


Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

to fix that you need mysql 5.5 or higher, go into putty and uninstall the current version

 

pkg_info

 

pkg_delete mysqlXXX-serverXXXX

pkg_delete mysqlXXX-clientXXXX

then

 cd /usr/ports/databases/mysql56-server/

make install clean

after it has installed, restart mysql

services mysql-server restart

mysql_upgrade

 

then it should work

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.