Home  >  Article  >  Backend Development  >  mysql的连接有关问题

mysql的连接有关问题

WBOY
WBOYOriginal
2016-06-13 13:46:50747browse

mysql的连接问题
各位,我不知道怎么设置的,现在,phpmyadmin可以连接上mysql,操作正常,
但是我在程序里用mysql_connect('localhost:3306','abc','abc')登陆就是连接不上
提示我:sending message :Access denied for user 'guozhixin'@'localhost' (using password: NO)
guozhixin是我的系统登录用户名

------解决方案--------------------
数据库名...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article: 急死人。 Next article: 关于PHP框架的几个小问题