PhpMyAdmin always prompts the error Warning. mysqli_init (), and it is very slow.

Source: Internet
Author: User
PhpMyAdmin always prompts the error "Warning. mysqli_init ()", and is very slow. I don't know if it is a configuration problem. After I reinstall all mysql, it's okay to use the official mysql workbench.
Directly executing mysqli_init () in php also reports the error Property access is not allowed yet...


Reply to discussion (solution)

Prepare ??

This parameter (and presumably any other parameter in mysqli_stmt) will raise an error with the message "Property access is not allowed yet" if the statement was not prepared properly, or not prepared at all.

To prevent this, always ensure that the return value of the "prepare" statement is true before accessing these properties.

Isn't your mysqli extension enabled?

The second floor ....

Isn't your mysqli extension enabled?


Php has been configured. you can use phpinfo () to view the mysqli extension.

Prepare ??

This parameter (and presumably any other parameter in mysqli_stmt) will raise an error with the message "Property access is not allowed yet" if the statement was not prepared properly, or not prepared at all.

To prevent this, always ensure that the return value of the "prepare" statement is true before accessing these properties.


I don't quite understand... I don't know what Property access is not allowed yet is talking about ~~

If the statement was not prepared properly, or not prepared at all
This prompt is the key

This parameter (and presumably any other parameter in mysqli_stmt) will raise an error with the message "Property access is not allowed yet" if the statement was not prepared properly, or not prepared at all.

To prevent this, always ensure that the return value of the "prepare" statement is true before accessing these properties.

Have you solved this problem? I have encountered the same problem.

Paste your 13 lines of code quietly

Paste your 13 lines of code quietly


No code. it means phpMyAdmin is wrong once it is opened.

Will self-written code go wrong?

What integration environment is used?
What is the mysql version?

Will self-written code go wrong?

What integration environment is used?
What is the mysql version?


Mysql 5.6.22, I usually use PDO, and the basic functions of mysqli are OK, but I will report an error when using mysqli_init (), just like the warning posted on the post... I really don't know what this function does. it seems useless, but it seems to be used in phpMyAdmin. I guess it's mysql_init ().

Will self-written code go wrong?

What integration environment is used?
What is the mysql version?


I did not use integration. I installed apache2.4 mysql 5.6 and php5.6.4.

I wonder whether the problem is solved now. I also found this problem in recent days. I checked it today and found that it was caused by the xdebug plug-in installed earlier. after removing the trace and profiler in the xdebug configuration item in ini, restart the server to restore the normal operation.
For more information, see.

I wonder whether the problem is solved now. I also found this problem in recent days. I checked it today and found that it was caused by the xdebug plug-in installed earlier. after removing the trace and profiler in the xdebug configuration item in ini, restart the server to restore the normal operation.
For more information, see.


That's true !!!!
Thank you !!
Set
Xdebug. auto_trace = On and xdebug. profiler_enable = On. it's okay to comment out the two configuration items. I don't know what they do.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.