请问在mac下xampp无法读取mysql的数据
报错信息如下:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /Applications/XAMPP/xamppfiles/htdocs/test/db.class.php:51 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/test/db.class.php(31): ms_new_mysql->connect() #1 /Applications/XAMPP/xamppfiles/htdocs/test/db.class.php(329): ms_new_mysql->__construct('127.0.0.1', 'root', '', 'mukewang', '', 'utf-8', '0') #2 /Applications/XAMPP/xamppfiles/htdocs/test/data.php(6): include_once('/Applications/X...') #3 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/test/db.class.php on line 51