In my case the provider just gave me access to MySQL Version 5.7.23-23 and Moodle 4.2 needs MySQL Version 8.0 for that reason in my case I just can install Moodle til 4.1
If someone is having the similar situation please check the server for MySQL Version.
My hosting provider doesnt give MySQL Version 80 for sharing hostings. bad........