• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Problem with Plesk and MySQL DB's

L

Leighm0

Guest
I have just recently found a bug with plesk 8.1 for windows which involves the creation of mysql db's.

I have never had domains with numbers at the beginning but now a client has joined with one and normally when we add them into Plesk we create the domain/client, the username is normally the domain name without the .com etc.. and then we normally create a db with the same name and all ftp username and db username etc etc.. so its all pretty much uniform so its easy for us and easy for client to remember etc.

The mySQL db errors like so when using a numeral at the start of the db name: Error connecting to mySQL server... at which point i was curious because it was running fine.. so I went to the Event Log on server under Plesk and found the following:

Failed to connect to database: Can't connect to MySQL server on 'localhost' (10061)
at (MySQLDatabaseProvider::connect line 213)
at execute console command --check(vconsoleapp: tart line 128)
at execute "C:\Program Files\SWsoft\Plesk\admin\bin\mysqlmng.exe" --check "--server=localhost" "--port=4companyname" "--login=admin"

It was using the database name i had chosen for the Port.. kind of odd since shouldnt it be 3306.. and why in the heck was plesk telling the command line that the port was the db name.. interesting..

Anyway so i made it without the number 4 infront, and then also found out it wouldnt let me create a username on mysql access with a number either..

I guess its no real big issue, all i did was change all the other usernames to not inlcude the 4 so its all uniform like we have for all clients... but it was kind of silly that it screwed up the way it did..
 
Back
Top