when i try to connect mysql in Xamp that give me
Strict Standards: Declaration of DBAccessor::connect() should be compatible with that of mysqli::connect() in C:\xampp\htdocs\cgs\CGS\com\DBAccessor.class.php on line 237
database password, host and user were correctly enterd in my code
Is
DBAccessora class you wrote, or a part of some library/application.If you wrote it, then you should know that when extending a base class (mysqli in this case) methods in extending class should have same signatures as methods in base class.
If you didn’t write it: switch off E_STRICT error level