It can be acceptable to connect the circuit ground to mains neutral if the product is designed so that there is no chance of people coming into contact with any part of the circuit. No exposed metal will be connected to any of the circuit voltages.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.