欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO

程序员文章站 2022-06-27 14:31:48
你有碰上过这样的提示吗? Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO 如果碰上这样的提示,不要惊慌,你并没有出错 ......

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO

你有碰上过这样的提示吗?

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO

如果碰上这样的提示,不要惊慌,你并没有出错,只是警告你mysql语句在将来会被弃用,你用的php代码应该要用最新的版本了,并不影响你现在的使用